Commit Graph

58673 Commits

Author SHA1 Message Date
Marc G. Fournier f578f8fb68 Cleaned out -I../.. -I../../include from Makefile
Added missing include files
1996-10-31 08:28:53 +00:00
Marc G. Fournier 367ade186f Remove -I../.. and -I../../include from Makefile
Add some missing include files
1996-10-31 08:24:47 +00:00
Marc G. Fournier ea04818002 Add a couple of missing includes 1996-10-31 08:09:47 +00:00
Marc G. Fournier ba4ad2c71a Added misc include files 1996-10-31 07:48:38 +00:00
Marc G. Fournier 14352a3ef6 .h files shouldn't include .h files, .c files should contain .h files...
remove postgres.h from fmgr.h creation
1996-10-31 07:37:57 +00:00
Marc G. Fournier 081fd70d92 Even compile generated .h files should be in ${SRCDIR}/include... 1996-10-31 07:25:15 +00:00
Marc G. Fournier c59b3afbf1 Well, normally there wouldn't be anything in -I../.., and in a minute, there
won't be...
1996-10-31 07:22:07 +00:00
Marc G. Fournier 83311355d7 Add these files to ${SRCDIR}/include 1996-10-31 07:10:14 +00:00
Marc G. Fournier 0a761375e9 Move these files to ${SRCDIR}/include 1996-10-31 07:09:33 +00:00
Marc G. Fournier 5565d32e10 There is no -I../.. include files... 1996-10-31 07:04:50 +00:00
Marc G. Fournier 5cbff9a020 USE of PORTNAME_* should be discouraged wherever possible. The code
*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-31 06:55:15 +00:00
Bruce Momjian f5501d9c37 Installed new FAQ's after I deleted them accidentally while
removing duplicate names.
1996-10-31 06:13:25 +00:00
Bruce Momjian 7ee319d80e Removed duplicate files. 1996-10-31 05:59:13 +00:00
Bruce Momjian d91cc297bb Changed include path. 1996-10-31 05:58:32 +00:00
Bruce Momjian 3d7fe6c97c Added needed include file. 1996-10-31 05:58:01 +00:00
Bruce Momjian 7a93da98af Missing from parser patch.
Added needed include file.
1996-10-31 05:57:23 +00:00
Bruce Momjian 3eb6cc491d changed define(port) to define(PORTNAME_port)
Added needed include file.
1996-10-31 05:56:27 +00:00
Bruce Momjian 34945055a8 Changed make to gmake.
Added needed include file.
1996-10-31 05:55:24 +00:00
Bruce Momjian 4cf9d03ec7 Added prototypes missing from parser patch.
Added needed include file.
1996-10-31 05:54:27 +00:00
Bruce Momjian 08554e4abb Removed false and changed to a commented true. 1996-10-31 05:53:10 +00:00
Marc G. Fournier f1c95ed41e Fix memset() call, variables being passed in wrong order.
Pointed out by: wieck@sapserv.debis.de
1996-10-30 21:18:22 +00:00
Marc G. Fournier da7f60c9d3 Fixes: Incorrect syntax for copy command
By: Erich Stamberger <eberger@gewi.kfunigraz.ac.at>
1996-10-30 06:19:53 +00:00
Marc G. Fournier 552620c8b2 Changes to libpgtcl submitted by: wieck@sapserv.debis.de (Jan Wieck)
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-30 06:18:42 +00:00
Marc G. Fournier 582982e613 commit a newer IRIX FAQ from Andrew 1996-10-30 06:14:07 +00:00
Marc G. Fournier 5879b80da7 Commit a newer fact for 1.09 from Andrew 1996-10-30 06:13:36 +00:00
Marc G. Fournier 69c7f25bed Fixes:
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-30 06:08:10 +00:00
Marc G. Fournier 6ada9dfdce Fix up INSTALL file
From Andrew
1996-10-30 06:01:55 +00:00
Bruce Momjian f59a46a8c8 Parser Overhaul 1996-10-30 02:02:41 +00:00
Bryan Henderson 1dfe4eaeb1 Fix small syntax error. 1996-10-30 00:36:59 +00:00
Bryan Henderson aa71f918c3 Fix sigaction again to try for portability. 1996-10-29 21:53:48 +00:00
Bryan Henderson 71c1d59d1a Remove another snprintf() for Solaris. 1996-10-29 21:51:13 +00:00
Marc G. Fournier 060f1d6a73 Slight changes to INSTALL to point ppl at the Linux/IRIX specific
FAQs
1996-10-28 22:12:42 +00:00
Marc G. Fournier 9826413f29 Add in Andrew's FAQs 1996-10-28 22:11:47 +00:00
Bryan Henderson 63481f0b92 Use strncpy() and local buffers instead of snprintf(), since not everyone
has snprintf().
1996-10-28 09:05:29 +00:00
Bryan Henderson aa1eac7979 Make a local isblank() function, since not all standard C libraries have it.
For sparc_solaris, add inet_aton prototype, since it isn't in the header
files included for the standard C library functions.
1996-10-28 09:03:50 +00:00
Bryan Henderson b13ffd34b3 Add our own copy of inet_aton() for sparc_solaris, which doesn't have it in
the standard C library.
1996-10-28 09:00:54 +00:00
Bryan Henderson b0d6f0aa63 Simplify make files, add full dependencies. 1996-10-27 09:55:05 +00:00
Bryan Henderson 1e39d14ff3 Correct #if statement so it compiles on Solaris. Thanks Keith Parks. 1996-10-26 05:03:24 +00:00
Marc G. Fournier 87b48ff032 D'Arcy's cleanups 1996-10-26 04:15:05 +00:00
Marc G. Fournier 716d506a81 Make sure the btree patch gets into 2.0 as well...
Still submitted by:  Massimo Dal Zotto <dz@cs.unitn.it>
1996-10-25 09:55:36 +00:00
Bryan Henderson e18d49d82a Add CFLAGS+=-DPOSTPORT=... so we can take it out of the global CFLAGS. 1996-10-25 09:22:30 +00:00
Bryan Henderson ec86e4b95b Use EUROPEAN_DATES instead of EUROPEAN_STYLE 1996-10-25 06:02:52 +00:00
Bryan Henderson 3010f46d2a E Use EUROPEAN_DATES from config.h instead of -D option 1996-10-25 06:00:49 +00:00
Marc G. Fournier f6f8ca4970 Fixes: Growing backend when using nested function calls
Submitted by: wieck@sapserv.debis.de (Jan Wieck)
1996-10-24 07:59:46 +00:00
Marc G. Fournier 20b4c46e26 Fixes: Errors when PQexec() in backend creates temp
relations and transaction is aborted

Submitted by: wieck@sapserv.debis.de (Jan Wieck)
1996-10-24 07:55:54 +00:00
Marc G. Fournier e152661200 Fixes:
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-24 06:32:01 +00:00
Marc G. Fournier c471d2bdeb Take out the PERFECT_MMGR #ifdefs:
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-24 06:30:40 +00:00
Marc G. Fournier 7f76072d81 Bruce...does this fix it once and for all? *grin* 1996-10-24 06:25:34 +00:00
Marc G. Fournier f36b2560a4 Major code cleanups from D'arcy (-Wall -Werror) 1996-10-23 07:42:13 +00:00
Marc G. Fournier 29a0fb84fc |I have moved things around so that things happen in the following order:
|
|  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-23 07:33:04 +00:00