]> granicus.if.org Git - postgresql/log
postgresql
28 years agofinally, this directory is (should be!) totally clean
Marc G. Fournier [Mon, 4 Nov 1996 11:51:27 +0000 (11:51 +0000)]
finally, this directory is (should be!) totally clean

28 years agoAdd frontend \copy command.
Bryan Henderson [Mon, 4 Nov 1996 09:17:55 +0000 (09:17 +0000)]
Add frontend \copy command.

28 years agoanother pass through.
Marc G. Fournier [Mon, 4 Nov 1996 08:53:07 +0000 (08:53 +0000)]
another pass through.

Note.  all include files that have been hit so far have had extraneous
       include files cleaned out and are reduced to...the lowest common
       "include file", based on 'cc -Wall -I. test.c', where test.c is:

#include "postgres.h"
#include "<top of branches>" (ie. top of branches this time was utils/fcache2.h)

28 years agoMore cleanups (this one will most likely break under Win32, if anyone is
Marc G. Fournier [Mon, 4 Nov 1996 08:14:05 +0000 (08:14 +0000)]
More cleanups (this one will most likely break under Win32, if anyone is
working on it)

28 years agoNext, based on utils/catcache.h
Marc G. Fournier [Mon, 4 Nov 1996 07:59:39 +0000 (07:59 +0000)]
Next, based on utils/catcache.h

28 years agoAnother series started from utils/builtins.h
Marc G. Fournier [Mon, 4 Nov 1996 07:46:06 +0000 (07:46 +0000)]
Another series started from utils/builtins.h

28 years ago-Wall based cleanup of include files, based from acl.h, and everything
Marc G. Fournier [Mon, 4 Nov 1996 07:18:46 +0000 (07:18 +0000)]
-Wall based cleanup of include files, based from acl.h, and everything
that it depends on

28 years agoinclude utils/palloc.h as a default include, as its used more often then
Marc G. Fournier [Mon, 4 Nov 1996 06:35:36 +0000 (06:35 +0000)]
include utils/palloc.h as a default include, as its used more often then
not

28 years agoAdd ability to deal with the fmgr.h dependency.
Bryan Henderson [Mon, 4 Nov 1996 06:32:59 +0000 (06:32 +0000)]
Add ability to deal with the fmgr.h dependency.

28 years agoRename CDEBUG to COPT
Bruce Momjian [Mon, 4 Nov 1996 05:15:07 +0000 (05:15 +0000)]
Rename CDEBUG to COPT

28 years agoRemove AMERICAN STYLE. Not used.
Bruce Momjian [Mon, 4 Nov 1996 05:02:44 +0000 (05:02 +0000)]
Remove AMERICAN STYLE.  Not used.

28 years agoRemove optimization-specific stuff from OS sections. Use CDEBUG.
Bruce Momjian [Mon, 4 Nov 1996 05:01:47 +0000 (05:01 +0000)]
Remove optimization-specific stuff from OS sections.  Use CDEBUG.

28 years agoRemove OPENLINK define
Bruce Momjian [Mon, 4 Nov 1996 04:53:51 +0000 (04:53 +0000)]
Remove OPENLINK define

28 years agoRemove NULL_PATCH define
Bruce Momjian [Mon, 4 Nov 1996 04:35:48 +0000 (04:35 +0000)]
Remove NULL_PATCH define

28 years agoRemove ARRAY_PATCH define
Bruce Momjian [Mon, 4 Nov 1996 04:19:55 +0000 (04:19 +0000)]
Remove ARRAY_PATCH define

28 years agoRemove ESCAPE_PATCH define
Bruce Momjian [Mon, 4 Nov 1996 04:05:16 +0000 (04:05 +0000)]
Remove ESCAPE_PATCH define

28 years agoRemoved PORTNAME_. Use OS version only.
Bruce Momjian [Mon, 4 Nov 1996 04:00:56 +0000 (04:00 +0000)]
Removed PORTNAME_.  Use OS version only.

28 years agoAnother first pass at cleaning up the #includes
Marc G. Fournier [Sun, 3 Nov 1996 23:57:43 +0000 (23:57 +0000)]
Another first pass at cleaning up the #includes

28 years agoNot sure if this is the right place, but add a prototype for
Marc G. Fournier [Sun, 3 Nov 1996 23:49:07 +0000 (23:49 +0000)]
Not sure if this is the right place, but add a prototype for
Bryan's superuser() function

28 years agoCleaned up include headers
Marc G. Fournier [Sun, 3 Nov 1996 23:46:28 +0000 (23:46 +0000)]
Cleaned up include headers

28 years agofirst pass at cleaning up include files
Marc G. Fournier [Sun, 3 Nov 1996 23:27:08 +0000 (23:27 +0000)]
first pass at cleaning up include files

28 years agoMore include file cleanups
Marc G. Fournier [Sun, 3 Nov 1996 22:58:26 +0000 (22:58 +0000)]
More include file cleanups

28 years agoChanges required so that access/* compiles cleanly...
Marc G. Fournier [Sun, 3 Nov 1996 12:35:27 +0000 (12:35 +0000)]
Changes required so that access/* compiles cleanly...

cleaning up behind myself before *yawn* bed :)

28 years agoMore cleans of the inter-dependencies in the #include files
Marc G. Fournier [Sun, 3 Nov 1996 12:13:35 +0000 (12:13 +0000)]
More cleans of the inter-dependencies in the #include files

28 years agoMore include file cleanups
Marc G. Fournier [Sun, 3 Nov 1996 12:11:19 +0000 (12:11 +0000)]
More include file cleanups

28 years agoThat pretty much totally cleans up the includes files here.
Marc G. Fournier [Sun, 3 Nov 1996 10:57:24 +0000 (10:57 +0000)]
That pretty much totally cleans up the includes files here.

28 years agoInclude Makefile.global so fmgrtab.c compiles properly. Thanks Keith Parks.
Bryan Henderson [Sun, 3 Nov 1996 09:28:31 +0000 (09:28 +0000)]
Include Makefile.global so fmgrtab.c compiles properly.  Thanks Keith Parks.

28 years agoFix bogus format in two error messages.
Bryan Henderson [Sun, 3 Nov 1996 09:24:04 +0000 (09:24 +0000)]
Fix bogus format in two error messages.

28 years agoFinish cleaning up -I lines
Marc G. Fournier [Sun, 3 Nov 1996 09:07:03 +0000 (09:07 +0000)]
Finish cleaning up -I lines

28 years agoKeep the generated .h files in the local directory, like other object files,
Bryan Henderson [Sun, 3 Nov 1996 09:05:30 +0000 (09:05 +0000)]
Keep the generated .h files in the local directory, like other object files,
rather than in src/include with normal header files.  Necessary to make
dependancies work out so they don't keep getting rebuilt for no reason.

28 years agoCreate TAGS file for emacs. Like MAKE_CTAGS for vi.
Bryan Henderson [Sun, 3 Nov 1996 09:03:30 +0000 (09:03 +0000)]
Create TAGS file for emacs.  Like MAKE_CTAGS for vi.

28 years agoMore include file cleanups
Marc G. Fournier [Sun, 3 Nov 1996 08:17:38 +0000 (08:17 +0000)]
More include file cleanups

28 years agoshared build fails, but the rest compiles...formatting error in the
Marc G. Fournier [Sun, 3 Nov 1996 07:14:32 +0000 (07:14 +0000)]
shared build fails, but the rest compiles...formatting error in the
cc -shared, I believe...

28 years agoQuiet a compiler warning (see line 729+, retvalue)
Marc G. Fournier [Sun, 3 Nov 1996 07:00:57 +0000 (07:00 +0000)]
Quiet a compiler warning (see line 729+, retvalue)

28 years agoRemove 'unused variable `open_errno''
Marc G. Fournier [Sun, 3 Nov 1996 06:56:52 +0000 (06:56 +0000)]
Remove 'unused variable `open_errno''

28 years agoProduce a clean compile of backend...
Marc G. Fournier [Sun, 3 Nov 1996 06:54:38 +0000 (06:54 +0000)]
Produce a clean compile of backend...

28 years agoChange default install directories to /usr/local/pgsql
Marc G. Fournier [Sun, 3 Nov 1996 06:54:10 +0000 (06:54 +0000)]
Change default install directories to /usr/local/pgsql

Add CFLAGS+= -Wall -Werror (should only affect developers, not users)

28 years agoClean up Makefile(s)
Marc G. Fournier [Sun, 3 Nov 1996 05:08:01 +0000 (05:08 +0000)]
Clean up Makefile(s)

Add #include "postgres.h" as required

Remove #include "c.h" *and* "utils/elog.h" as applicable

28 years agoClean up Makefile
Marc G. Fournier [Sun, 3 Nov 1996 04:57:03 +0000 (04:57 +0000)]
Clean up Makefile

Add #include "postgres.h" as required

Remove #include "utils/elog.h"

28 years agoClean up Makefile, add #postgres.h as required
Marc G. Fournier [Sun, 3 Nov 1996 04:51:51 +0000 (04:51 +0000)]
Clean up Makefile, add #postgres.h as required

28 years agoClean up Makefile, make sure that postmaster.c compiles
Marc G. Fournier [Sun, 3 Nov 1996 04:48:27 +0000 (04:48 +0000)]
Clean up Makefile, make sure that postmaster.c compiles

28 years agoContinuation of make file simplification; deal with header file shuffle.
Bryan Henderson [Sat, 2 Nov 1996 09:54:44 +0000 (09:54 +0000)]
Continuation of make file simplification; deal with header file shuffle.

28 years agoContinuation of make file simplification; handle libpq.a dependancy.
Bryan Henderson [Sat, 2 Nov 1996 09:53:15 +0000 (09:53 +0000)]
Continuation of make file simplification; handle libpq.a dependancy.

28 years agoAdd complete setting of AROPT
Bryan Henderson [Sat, 2 Nov 1996 09:49:57 +0000 (09:49 +0000)]
Add complete setting of AROPT

28 years agoConvenience routine for checking superuser status.
Bryan Henderson [Sat, 2 Nov 1996 02:06:47 +0000 (02:06 +0000)]
Convenience routine for checking superuser status.

28 years agoAdd misc subdirectory.
Bryan Henderson [Sat, 2 Nov 1996 02:03:50 +0000 (02:03 +0000)]
Add misc subdirectory.

28 years agoFix bug in checking permissions on table being COPY'd.
Bryan Henderson [Sat, 2 Nov 1996 02:03:13 +0000 (02:03 +0000)]
Fix bug in checking permissions on table being COPY'd.

28 years agoAllow only superuser to do backend copy.
Bryan Henderson [Sat, 2 Nov 1996 02:01:48 +0000 (02:01 +0000)]
Allow only superuser to do backend copy.

28 years agoComment changes.
Bruce Momjian [Fri, 1 Nov 1996 21:04:48 +0000 (21:04 +0000)]
Comment changes.

28 years agoMore intelligent #include cleanups, as pointed out by Bryan...
Marc G. Fournier [Fri, 1 Nov 1996 09:41:41 +0000 (09:41 +0000)]
More intelligent #include cleanups, as pointed out by Bryan...

Compiled with -Wall -Werror

28 years agoOkay, following Bryan's (and others) suggestions...cleaning up the
Marc G. Fournier [Fri, 1 Nov 1996 09:31:17 +0000 (09:31 +0000)]
Okay, following Bryan's (and others) suggestions...cleaning up the
include files properly...yet, slowly...

28 years agoInclude dependencies based on tupdesc.h, as:
Marc G. Fournier [Fri, 1 Nov 1996 09:22:37 +0000 (09:22 +0000)]
Include dependencies based on tupdesc.h, as:

access/tupdesc.h
catalog/pg_attribute.h
nodes/pg_list.h
nodes/nodes.h
access/attnum.h

28 years agoInclude file cleanup:
Marc G. Fournier [Fri, 1 Nov 1996 09:19:11 +0000 (09:19 +0000)]
Include file cleanup:

Based on include files require by htup.h, as:

access/htup.h
storage/itemptr.h
storage/block.h
storage/off.h
utils/nabstime.h
<time.h>

28 years agoOkay, so I was going backwards on my include cleanup...
Marc G. Fournier [Fri, 1 Nov 1996 09:12:18 +0000 (09:12 +0000)]
Okay, so I was going backwards on my include cleanup...

Pointed out by Bryan (in a subtle way *grin*)

28 years agoMore chanes for bsdi_2_1 removal
Bruce Momjian [Fri, 1 Nov 1996 03:36:16 +0000 (03:36 +0000)]
More chanes for bsdi_2_1 removal

28 years agoDecoupled ASSERT and DEBUG options.
Bruce Momjian [Fri, 1 Nov 1996 02:32:16 +0000 (02:32 +0000)]
Decoupled ASSERT and DEBUG options.

28 years agoFIx for bsdi.
Bruce Momjian [Fri, 1 Nov 1996 02:21:15 +0000 (02:21 +0000)]
FIx for bsdi.

28 years agoRemoval of bsdi_2_1 port.
Bruce Momjian [Fri, 1 Nov 1996 01:47:23 +0000 (01:47 +0000)]
Removal of bsdi_2_1 port.

28 years agotypo fix on include file.
Bruce Momjian [Thu, 31 Oct 1996 18:33:09 +0000 (18:33 +0000)]
typo fix on include file.

28 years agoFix prototype.
Bruce Momjian [Thu, 31 Oct 1996 18:27:54 +0000 (18:27 +0000)]
Fix prototype.

28 years agoFix for gmake clean.
Bruce Momjian [Thu, 31 Oct 1996 17:27:58 +0000 (17:27 +0000)]
Fix for gmake clean.

28 years agoAdd #include "postgres.h"
Marc G. Fournier [Thu, 31 Oct 1996 11:09:44 +0000 (11:09 +0000)]
Add #include "postgres.h"

28 years agoCleanup Makefiles
Marc G. Fournier [Thu, 31 Oct 1996 10:59:42 +0000 (10:59 +0000)]
Cleanup Makefiles

Add #include "postgres.h"
and
    #include <sys/types.h>

28 years agoMore Makefile cleanups
Marc G. Fournier [Thu, 31 Oct 1996 10:42:56 +0000 (10:42 +0000)]
More Makefile cleanups

Add #include "postgres.h" as required

28 years agoclean up makefile
Marc G. Fournier [Thu, 31 Oct 1996 10:37:53 +0000 (10:37 +0000)]
clean up makefile

add #include "postgres.h"

28 years agoClean out makefile
Marc G. Fournier [Thu, 31 Oct 1996 10:26:33 +0000 (10:26 +0000)]
Clean out makefile

add #include "postgres.h"

28 years agomore removal of PORTNAME_*
Marc G. Fournier [Thu, 31 Oct 1996 10:23:28 +0000 (10:23 +0000)]
more removal of PORTNAME_*

28 years agomore removals of PORTNAME_*
Marc G. Fournier [Thu, 31 Oct 1996 10:20:09 +0000 (10:20 +0000)]
more removals of PORTNAME_*

28 years agoremove use of PORTNAME_*
Marc G. Fournier [Thu, 31 Oct 1996 10:17:09 +0000 (10:17 +0000)]
remove use of PORTNAME_*

28 years agoadd #include "postgres.h", as required by all .c files
Marc G. Fournier [Thu, 31 Oct 1996 10:12:26 +0000 (10:12 +0000)]
add #include "postgres.h", as required by all .c files

28 years agoremove:
Marc G. Fournier [Thu, 31 Oct 1996 09:51:30 +0000 (09:51 +0000)]
remove:
#include "postgres.h"
#include "c.h"

28 years agoRequire superuser privilege to create C function.
Bryan Henderson [Thu, 31 Oct 1996 09:08:10 +0000 (09:08 +0000)]
Require superuser privilege to create C function.

28 years agoMore of the same...clean Makefile, add include files
Marc G. Fournier [Thu, 31 Oct 1996 08:52:54 +0000 (08:52 +0000)]
More of the same...clean Makefile, add include files

28 years agoSame clean up of Makefile, and addition of include files
Marc G. Fournier [Thu, 31 Oct 1996 08:32:23 +0000 (08:32 +0000)]
Same clean up of Makefile, and addition of include files

28 years agoCleaned out -I../.. -I../../include from Makefile
Marc G. Fournier [Thu, 31 Oct 1996 08:28:53 +0000 (08:28 +0000)]
Cleaned out -I../.. -I../../include from Makefile

Added missing include files

28 years agoRemove -I../.. and -I../../include from Makefile
Marc G. Fournier [Thu, 31 Oct 1996 08:24:47 +0000 (08:24 +0000)]
Remove -I../.. and -I../../include from Makefile

Add some missing include files

28 years agoAdd a couple of missing includes
Marc G. Fournier [Thu, 31 Oct 1996 08:09:47 +0000 (08:09 +0000)]
Add a couple of missing includes

28 years agoAdded misc include files
Marc G. Fournier [Thu, 31 Oct 1996 07:48:38 +0000 (07:48 +0000)]
Added misc include files

28 years ago.h files shouldn't include .h files, .c files should contain .h files...
Marc G. Fournier [Thu, 31 Oct 1996 07:37:57 +0000 (07:37 +0000)]
.h files shouldn't include .h files, .c files should contain .h files...

remove postgres.h from fmgr.h creation

28 years agoEven compile generated .h files should be in ${SRCDIR}/include...
Marc G. Fournier [Thu, 31 Oct 1996 07:25:15 +0000 (07:25 +0000)]
Even compile generated .h files should be in ${SRCDIR}/include...

28 years agoWell, normally there wouldn't be anything in -I../.., and in a minute, there
Marc G. Fournier [Thu, 31 Oct 1996 07:22:07 +0000 (07:22 +0000)]
Well, normally there wouldn't be anything in -I../.., and in a minute, there
won't be...

28 years agoAdd these files to ${SRCDIR}/include
Marc G. Fournier [Thu, 31 Oct 1996 07:10:14 +0000 (07:10 +0000)]
Add these files to ${SRCDIR}/include

28 years agoMove these files to ${SRCDIR}/include
Marc G. Fournier [Thu, 31 Oct 1996 07:09:33 +0000 (07:09 +0000)]
Move these files to ${SRCDIR}/include

28 years agoThere is no -I../.. include files...
Marc G. Fournier [Thu, 31 Oct 1996 07:04:50 +0000 (07:04 +0000)]
There is no -I../.. include files...

28 years agoUSE of PORTNAME_* should be discouraged wherever possible. The code
Marc G. Fournier [Thu, 31 Oct 1996 06:55:15 +0000 (06:55 +0000)]
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...

28 years agoInstalled new FAQ's after I deleted them accidentally while
Bruce Momjian [Thu, 31 Oct 1996 06:13:25 +0000 (06:13 +0000)]
Installed new FAQ's after I deleted them accidentally while
removing duplicate names.

28 years agoRemoved duplicate files.
Bruce Momjian [Thu, 31 Oct 1996 05:59:13 +0000 (05:59 +0000)]
Removed duplicate files.

28 years agoChanged include path.
Bruce Momjian [Thu, 31 Oct 1996 05:58:32 +0000 (05:58 +0000)]
Changed include path.

28 years agoAdded needed include file.
Bruce Momjian [Thu, 31 Oct 1996 05:58:01 +0000 (05:58 +0000)]
Added needed include file.

28 years agoMissing from parser patch.
Bruce Momjian [Thu, 31 Oct 1996 05:57:23 +0000 (05:57 +0000)]
Missing from parser patch.
Added needed include file.

28 years agochanged define(port) to define(PORTNAME_port)
Bruce Momjian [Thu, 31 Oct 1996 05:56:27 +0000 (05:56 +0000)]
changed define(port) to define(PORTNAME_port)
Added needed include file.

28 years agoChanged make to gmake.
Bruce Momjian [Thu, 31 Oct 1996 05:55:24 +0000 (05:55 +0000)]
Changed make to gmake.
Added needed include file.

28 years agoAdded prototypes missing from parser patch.
Bruce Momjian [Thu, 31 Oct 1996 05:54:27 +0000 (05:54 +0000)]
Added prototypes missing from parser patch.
Added needed include file.

28 years agoRemoved false and changed to a commented true.
Bruce Momjian [Thu, 31 Oct 1996 05:53:10 +0000 (05:53 +0000)]
Removed false and changed to a commented true.

28 years agoFix memset() call, variables being passed in wrong order.
Marc G. Fournier [Wed, 30 Oct 1996 21:18:22 +0000 (21:18 +0000)]
Fix memset() call, variables being passed in wrong order.

Pointed out by: wieck@sapserv.debis.de

28 years agoFixes: Incorrect syntax for copy command
Marc G. Fournier [Wed, 30 Oct 1996 06:19:53 +0000 (06:19 +0000)]
Fixes: Incorrect syntax for copy command
By: Erich Stamberger <eberger@gewi.kfunigraz.ac.at>

28 years agoChanges to libpgtcl submitted by: wieck@sapserv.debis.de (Jan Wieck)
Marc G. Fournier [Wed, 30 Oct 1996 06:18:42 +0000 (06:18 +0000)]
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.

28 years agocommit a newer IRIX FAQ from Andrew
Marc G. Fournier [Wed, 30 Oct 1996 06:14:07 +0000 (06:14 +0000)]
commit a newer IRIX FAQ from Andrew

28 years agoCommit a newer fact for 1.09 from Andrew
Marc G. Fournier [Wed, 30 Oct 1996 06:13:36 +0000 (06:13 +0000)]
Commit a newer fact for 1.09 from Andrew

28 years agoFixes:
Marc G. Fournier [Wed, 30 Oct 1996 06:08:10 +0000 (06:08 +0000)]
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>