Commit Graph

545 Commits

Author SHA1 Message Date
Marc G. Fournier 434201d8d7 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)
1996-11-04 08:53:07 +00:00
Marc G. Fournier 63482946c7 More cleanups (this one will most likely break under Win32, if anyone is
working on it)
1996-11-04 08:14:05 +00:00
Marc G. Fournier 82400d4c50 Next, based on utils/catcache.h 1996-11-04 07:59:39 +00:00
Marc G. Fournier 5a5f9420e5 Another series started from utils/builtins.h 1996-11-04 07:46:06 +00:00
Marc G. Fournier d93d3c843a -Wall based cleanup of include files, based from acl.h, and everything
that it depends on
1996-11-04 07:18:46 +00:00
Marc G. Fournier 796aca3916 include utils/palloc.h as a default include, as its used more often then
not
1996-11-04 06:35:36 +00:00
Bryan Henderson 089dfb61f0 Add ability to deal with the fmgr.h dependency. 1996-11-04 06:32:59 +00:00
Bruce Momjian 5061c23ac2 Rename CDEBUG to COPT 1996-11-04 05:15:07 +00:00
Bruce Momjian de3286ce3a Remove AMERICAN STYLE. Not used. 1996-11-04 05:02:44 +00:00
Bruce Momjian f95322d9ef Remove optimization-specific stuff from OS sections. Use CDEBUG. 1996-11-04 05:01:47 +00:00
Bruce Momjian 18bbad7696 Remove OPENLINK define 1996-11-04 04:53:51 +00:00
Bruce Momjian 0108fddf13 Remove NULL_PATCH define 1996-11-04 04:35:48 +00:00
Bruce Momjian 8edbc3bde4 Remove ARRAY_PATCH define 1996-11-04 04:19:55 +00:00
Bruce Momjian e43dfad289 Remove ESCAPE_PATCH define 1996-11-04 04:05:16 +00:00
Bruce Momjian 7e42f4814d Removed PORTNAME_. Use OS version only. 1996-11-04 04:00:56 +00:00
Marc G. Fournier 510ebf75a1 Another first pass at cleaning up the #includes 1996-11-03 23:57:43 +00:00
Marc G. Fournier d46d53387f Not sure if this is the right place, but add a prototype for
Bryan's superuser() function
1996-11-03 23:49:07 +00:00
Marc G. Fournier d2aa40517a Cleaned up include headers 1996-11-03 23:46:28 +00:00
Marc G. Fournier 4029fb52c6 first pass at cleaning up include files 1996-11-03 23:27:08 +00:00
Marc G. Fournier ca112038ab More include file cleanups 1996-11-03 22:58:26 +00:00
Marc G. Fournier 302b809793 Changes required so that access/* compiles cleanly...
cleaning up behind myself before *yawn* bed :)
1996-11-03 12:35:27 +00:00
Marc G. Fournier ff36ebc922 More cleans of the inter-dependencies in the #include files 1996-11-03 12:13:35 +00:00
Marc G. Fournier 71cd646a34 More include file cleanups 1996-11-03 12:11:19 +00:00
Marc G. Fournier dd71c36933 That pretty much totally cleans up the includes files here. 1996-11-03 10:57:24 +00:00
Bryan Henderson 5a58dabbbc Include Makefile.global so fmgrtab.c compiles properly. Thanks Keith Parks. 1996-11-03 09:28:31 +00:00
Bryan Henderson 8ac872b26d Fix bogus format in two error messages. 1996-11-03 09:24:04 +00:00
Marc G. Fournier 66a518735f Finish cleaning up -I lines 1996-11-03 09:07:03 +00:00
Bryan Henderson a7a0b3ba30 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.
1996-11-03 09:05:30 +00:00
Bryan Henderson a505db6f33 Create TAGS file for emacs. Like MAKE_CTAGS for vi. 1996-11-03 09:03:30 +00:00
Marc G. Fournier 0c960e7fc0 More include file cleanups 1996-11-03 08:17:38 +00:00
Marc G. Fournier 4bdf308bdf shared build fails, but the rest compiles...formatting error in the
cc -shared, I believe...
1996-11-03 07:14:32 +00:00
Marc G. Fournier aed384f12d Quiet a compiler warning (see line 729+, retvalue) 1996-11-03 07:00:57 +00:00
Marc G. Fournier dd5b78f1c1 Remove 'unused variable `open_errno'' 1996-11-03 06:56:52 +00:00
Marc G. Fournier c9002ecb21 Produce a clean compile of backend... 1996-11-03 06:54:38 +00:00
Marc G. Fournier 3cf53c1d8a Change default install directories to /usr/local/pgsql
Add CFLAGS+= -Wall -Werror (should only affect developers, not users)
1996-11-03 06:54:10 +00:00
Marc G. Fournier 6fac4602ae Clean up Makefile(s)
Add #include "postgres.h" as required

Remove #include "c.h" *and* "utils/elog.h" as applicable
1996-11-03 05:08:01 +00:00
Marc G. Fournier 66637f4a2f Clean up Makefile
Add #include "postgres.h" as required

Remove #include "utils/elog.h"
1996-11-03 04:57:03 +00:00
Marc G. Fournier c4edfb4667 Clean up Makefile, add #postgres.h as required 1996-11-03 04:51:51 +00:00
Marc G. Fournier daa93cf5c5 Clean up Makefile, make sure that postmaster.c compiles 1996-11-03 04:48:27 +00:00
Bryan Henderson b216c1eac6 Continuation of make file simplification; deal with header file shuffle. 1996-11-02 09:54:44 +00:00
Bryan Henderson 31e8156fad Continuation of make file simplification; handle libpq.a dependancy. 1996-11-02 09:53:15 +00:00
Bryan Henderson c5c8983ef7 Add complete setting of AROPT 1996-11-02 09:49:57 +00:00
Bryan Henderson 763adb5235 Convenience routine for checking superuser status. 1996-11-02 02:06:47 +00:00
Bryan Henderson 675740a8f3 Add misc subdirectory. 1996-11-02 02:03:50 +00:00
Bryan Henderson fa608ad2a6 Fix bug in checking permissions on table being COPY'd. 1996-11-02 02:03:13 +00:00
Bryan Henderson d27c28fdc0 Allow only superuser to do backend copy. 1996-11-02 02:01:48 +00:00
Bruce Momjian c9b05e55ac Comment changes. 1996-11-01 21:04:48 +00:00
Marc G. Fournier a95674269f More intelligent #include cleanups, as pointed out by Bryan...
Compiled with -Wall -Werror
1996-11-01 09:41:41 +00:00
Marc G. Fournier 3516eda61c Okay, following Bryan's (and others) suggestions...cleaning up the
include files properly...yet, slowly...
1996-11-01 09:31:17 +00:00
Marc G. Fournier f44acab12c Include dependencies based on tupdesc.h, as:
access/tupdesc.h
	catalog/pg_attribute.h
	nodes/pg_list.h
		nodes/nodes.h
	access/attnum.h
1996-11-01 09:22:37 +00:00