summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1996-10-31remove:Marc G. Fournier
#include "postgres.h" #include "c.h"
1996-10-31Require superuser privilege to create C function.Bryan Henderson
1996-10-31More of the same...clean Makefile, add include filesMarc G. Fournier
1996-10-31Same clean up of Makefile, and addition of include filesMarc G. Fournier
1996-10-31Cleaned out -I../.. -I../../include from MakefileMarc G. Fournier
Added missing include files
1996-10-31Remove -I../.. and -I../../include from MakefileMarc G. Fournier
Add some missing include files
1996-10-31Add a couple of missing includesMarc G. Fournier
1996-10-31Added misc include filesMarc G. Fournier
1996-10-31.h files shouldn't include .h files, .c files should contain .h files...Marc G. Fournier
remove postgres.h from fmgr.h creation
1996-10-31Even compile generated .h files should be in ${SRCDIR}/include...Marc G. Fournier
1996-10-31Well, normally there wouldn't be anything in -I../.., and in a minute, thereMarc G. Fournier
won't be...
1996-10-31Add these files to ${SRCDIR}/includeMarc G. Fournier
1996-10-31Move these files to ${SRCDIR}/includeMarc G. Fournier
1996-10-31There is no -I../.. include files...Marc G. Fournier
1996-10-31USE of PORTNAME_* should be discouraged wherever possible. The codeMarc G. Fournier
*should* be intelligent enough that: #if defined(__FreeBSD__) works, where __FreeBSD__ is actually defined by the compiler itself. Makefile.global used to have -DPORTNAME_<port> -D<port> as part of the flags for gcc while all occurances of PORTNAME_<port> slowly get removed from the source tree...
1996-10-31Changed include path.Bruce Momjian
1996-10-31Added needed include file.Bruce Momjian
1996-10-31Missing from parser patch.Bruce Momjian
Added needed include file.
1996-10-31changed define(port) to define(PORTNAME_port)Bruce Momjian
Added needed include file.
1996-10-31Changed make to gmake.Bruce Momjian
Added needed include file.
1996-10-31Added prototypes missing from parser patch.Bruce Momjian
Added needed include file.
1996-10-31Removed false and changed to a commented true.Bruce Momjian
1996-10-30Fix memset() call, variables being passed in wrong order.Marc G. Fournier
Pointed out by: wieck@sapserv.debis.de
1996-10-30Changes to libpgtcl submitted by: wieck@sapserv.debis.de (Jan Wieck)Marc G. Fournier
Adds: -lAttributes Returns another format of the results attribute list. Per attribute a sublist of {{attname} atttype attlen} is returned and an empty string if no attributes where received. -numAttrs Returns the number of attributes in the result.
1996-10-30Fixes:Marc G. Fournier
I found another bug in btree index. Looking at the code it seems that NULL keys are never used to build or scan a btree index (see the explain commands in the example). However this is not the case when a null key is retrieved in an outer loop of a join select and used in an index scan of an inner loop. This bug causes at least three kinds of problems: 1) the backend crashes when it tries to compare a text string with a null. 2) it is not possible to find tuples with null keys in a join. 3) null is considered equal to 0 when the datum is passed by value, see the last query. Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
1996-10-30Parser OverhaulBruce Momjian
1996-10-30Fix small syntax error.Bryan Henderson
1996-10-29Fix sigaction again to try for portability.Bryan Henderson
1996-10-29Remove another snprintf() for Solaris.Bryan Henderson
1996-10-28Use strncpy() and local buffers instead of snprintf(), since not everyoneBryan Henderson
has snprintf().
1996-10-28Make a local isblank() function, since not all standard C libraries have it.Bryan Henderson
For sparc_solaris, add inet_aton prototype, since it isn't in the header files included for the standard C library functions.
1996-10-28Add our own copy of inet_aton() for sparc_solaris, which doesn't have it inBryan Henderson
the standard C library.
1996-10-27Simplify make files, add full dependencies.Bryan Henderson
1996-10-26Correct #if statement so it compiles on Solaris. Thanks Keith Parks.Bryan Henderson
1996-10-26D'Arcy's cleanupsMarc G. Fournier
1996-10-25Make sure the btree patch gets into 2.0 as well...Marc G. Fournier
Still submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
1996-10-25Add CFLAGS+=-DPOSTPORT=... so we can take it out of the global CFLAGS.Bryan Henderson
1996-10-25Use EUROPEAN_DATES instead of EUROPEAN_STYLEBryan Henderson
1996-10-25E Use EUROPEAN_DATES from config.h instead of -D optionBryan Henderson
1996-10-24Fixes: Growing backend when using nested function callsMarc G. Fournier
Submitted by: wieck@sapserv.debis.de (Jan Wieck)
1996-10-24Fixes: Errors when PQexec() in backend creates tempMarc G. Fournier
relations and transaction is aborted Submitted by: wieck@sapserv.debis.de (Jan Wieck)
1996-10-24Fixes:Marc G. Fournier
It's bug in nodeAgg.c on lines 241, 242: null_array = malloc(nagg); for (i=0;i<nagg;i++) null_array[i] = 'n'; oneTuple = heap_formtuple(tupType, tupValue, null_array); - your query has not only aggregates but also 'group by-ed' fields and so null_array should contain tupType->natts elements (tupType->natts > nagg in your case). Patch follows and it's very simple. VAdim
1996-10-24Take out the PERFECT_MMGR #ifdefs:Marc G. Fournier
My guess is that the thing had bugs, and the pfree was commented out. The thing is probabally free'ed anyway at the end, so it was not a bad thing. If it does cause a bug, it will generate an error when hit, so I say unless someone else knows, let's remove it and run the regression test. -Bruce
1996-10-24Bruce...does this fix it once and for all? *grin*Marc G. Fournier
1996-10-23Major code cleanups from D'arcy (-Wall -Werror)Marc G. Fournier
1996-10-23|I have moved things around so that things happen in the following order:Marc G. Fournier
| | 1. Set default variables | 2. Include Makefile.custom to override defaults | 3. Set CFLAGS, etc. with variables | |This fixes the problem of Makefile.custom changes not taking effect. Submitted by: D'Arcy Cain
1996-10-23Update "planner" directory to "optimizer" in include paths in this dead code.Bryan Henderson
1996-10-21Cosmetic changes to ordering of #include filesMarc G. Fournier
1996-10-21-Wall'dMarc G. Fournier
1996-10-21-Wall'dMarc G. Fournier