Bruce Momjian
25b4ca4284
Added percentage to CASSERT comment.
1996-11-14 00:26:23 +00:00
Marc G. Fournier
07a65b2255
Commit of a *MAJOR* patch from Dan McGuirk <djm@indirect.com>
...
Changes:
* Unique index capability works using the syntax 'create unique
index'.
* Duplicate OID's in the system tables are removed. I put
little scripts called 'duplicate_oids' and 'find_oid' in
include/catalog that help to find and remove duplicate OID's.
I also moved 'unused_oids' from backend/catalog to
include/catalog, since it has to be in the same directory
as the include files in order to work.
* The backend tries converting the name of a function or aggregate
to all lowercase if the original name given doesn't work (mostly
for compatibility with ODBC).
* You can 'SELECT NULL' to your heart's content.
* I put my _bt_updateitem fix in instead, which uses
_bt_insertonpg so that even if the new key is so big that
the page has to be split, everything still works.
* All literal references to system catalog OID's have been
replaced with references to define'd constants from the catalog
header files.
* I added a couple of node copy functions. I think this was a
preliminary attempt to get rules to work.
1996-11-13 20:56:15 +00:00
Bryan Henderson
0cec8fe26c
Fix syntax error introduced in last update.
1996-11-13 11:43:04 +00:00
Bryan Henderson
b20766ccc4
Eliminate MKDIR, srcdir, objdir. Centralize setting of LIBPQDIR.
1996-11-13 10:36:36 +00:00
Bryan Henderson
fdc1cf2434
Make shared library builds work for BSD44_derived.
1996-11-13 08:36:31 +00:00
Bryan Henderson
b269793975
Forgot in yesterday's make file blitz.
1996-11-13 06:36:38 +00:00
Bryan Henderson
d7dd9295b7
End of the make file simplifications.
1996-11-12 11:43:32 +00:00
Bryan Henderson
594525aec1
Put shared libraries in main directory, not obj/
1996-11-12 11:41:27 +00:00
Marc G. Fournier
c8708c5f9b
Fix for finding the include files
1996-11-12 11:16:44 +00:00
Bryan Henderson
b5499249e5
Quiet compiler warnings.
1996-11-12 11:09:13 +00:00
Bryan Henderson
17befd6c69
Use new utils/version.c instead of backend/utils/init/magic.c.
1996-11-12 06:47:10 +00:00
Bryan Henderson
bbe89089c8
Add dependency for install.
1996-11-12 06:11:52 +00:00
Bryan Henderson
f45b50cfe0
Add install dependency.
1996-11-12 06:10:10 +00:00
Bryan Henderson
4f1e59f72b
Fix bug where it tries to do a cleardbdir when you make install.
1996-11-12 02:54:30 +00:00
Marc G. Fournier
c7ce63e04c
Add include file postgres.h
1996-11-11 16:33:12 +00:00
Marc G. Fournier
39b4a0505f
Add a blank install target so that 'make install' works
1996-11-11 16:30:07 +00:00
Marc G. Fournier
64f80c76d8
fix 'conflicting types' errors
1996-11-11 14:55:49 +00:00
Marc G. Fournier
b99e3b0ccc
Add missing include errno.h
1996-11-11 14:44:04 +00:00
Bryan Henderson
b0961b3974
Goes with the recently added src/utils/version.c, will replace some stuff in
...
miscadmin.h.
1996-11-11 14:24:38 +00:00
Bruce Momjian
a157098f7c
Fixed double pfree on opaque.
1996-11-11 14:02:10 +00:00
Bryan Henderson
bf80f41ec1
Add utils directory for cross-subsystem tools to keep make files from having
...
to be sleazy and reach into other subsystems' directories. First entry in
this directory is the PG_VERSION file interface, which must be used by the
backend and also the pg_version program (which is used by initdb).
1996-11-11 13:51:57 +00:00
Bryan Henderson
6f708e42d1
Makefile simplification: the "bin" chapter
1996-11-11 13:41:36 +00:00
Bryan Henderson
a7511908e1
Add DASH_N, BACKSLASH_C variables, moved from postgres.shell.mk.
1996-11-11 13:24:43 +00:00
Marc G. Fournier
58413fd9fc
-----
...
|After sending my previous changes I found one more thing in Makefile.global.
|Any tests should be done after including Makefile.custom or else there
|won't be anything, particularly the port name, to base the tests on.
|
-----
more changes to makefile.global from D'Arcy
1996-11-11 12:19:05 +00:00
Marc G. Fournier
41b8c2c849
As proposed,
...
following is the patch to libpq's large object interface that
removes the requirement to include fmgr.h into fe-lobj.c.
The large object interface now ask's the backend to tell the
OID's of all the required functions in pg_proc.
From: wieck@sapserv.debis.de (Jan Wieck)
1996-11-11 12:16:57 +00:00
Marc G. Fournier
2bdded3540
Various cleanups from D'Arcy
1996-11-11 12:14:45 +00:00
Marc G. Fournier
6913c8b4a4
Add an abort() call to ExceptionalCondition so that is Assert is
...
called, it dumps core...
ABORT_ON_ASSERT must be defined, as I don't know if this is the correct
way to do this...
1996-11-11 11:49:40 +00:00
Marc G. Fournier
9fc64aefe1
change include c.h to postgres.h
1996-11-11 11:29:15 +00:00
Bruce Momjian
42a344683a
Remove warnings when readline is not used.
1996-11-11 05:55:33 +00:00
Bruce Momjian
13d44b4aac
Warning removal cleanup
1996-11-11 04:54:54 +00:00
Bruce Momjian
8d9be647dc
Moved -Werror to COPT.
1996-11-11 03:12:00 +00:00
Bruce Momjian
1a5b4b9ffe
Removed -Wmissing-declaration.
1996-11-10 17:35:58 +00:00
Bryan Henderson
60915ed2c2
Change gmake to $(MAKE) so backend compiles on system with no "gmake".
1996-11-10 04:09:51 +00:00
Bruce Momjian
77f8dff617
prototype cleanup
1996-11-10 03:30:46 +00:00
Bryan Henderson
08029facb3
Recognize dependencies more reliably.
1996-11-10 03:13:59 +00:00
Bruce Momjian
aaeef4d17d
All external function definitions now have prototypes that are checked.
1996-11-10 03:06:38 +00:00
Bryan Henderson
bf5cbbf789
Quiet compiler warnings.
1996-11-10 02:27:15 +00:00
Bryan Henderson
2e21b7e4bc
Add #include <ctype.h> to quiet compiler about missing declaration of isspace().
1996-11-10 01:46:14 +00:00
Bryan Henderson
9f1b6bf7db
Add #include <unistd.h> to quiet compiler warning about missing getopt() declaratoin.
1996-11-10 01:37:48 +00:00
Bryan Henderson
4e70c05979
Add #include <unistd.h> to quiet warning about missing getopt() declaration.
1996-11-10 01:35:39 +00:00
Bryan Henderson
0e5ab3655c
Remove #include <regex.h> so it compiles on systems with GNU regex library.
1996-11-10 01:20:44 +00:00
Bryan Henderson
5d9e25c5ff
Add USE_POSIX_TIME, HAVE_TZSET for Linux so backend compiles.
1996-11-10 00:50:54 +00:00
Bryan Henderson
d7806dc5ee
Make it find inet_aton.h so backend compiles on Solaris.
1996-11-10 00:38:38 +00:00
Marc G. Fournier
4aa1734f36
Added in PQconnectdb() function
...
Submitted by: wieck@sapserv.debis.de (Jan Wieck)
1996-11-09 10:39:54 +00:00
Bruce Momjian
a0990e1884
Makefile cleanup after reorganization
1996-11-09 06:24:51 +00:00
Bruce Momjian
1d0e308395
Added new include file.
1996-11-09 05:48:28 +00:00
Marc G. Fournier
757b829ea8
A few more sparc_solaris cleanups from keith parks
1996-11-09 01:48:32 +00:00
Bruce Momjian
78078236ea
Fix typo in file name found during install.
1996-11-08 21:40:11 +00:00
Bruce Momjian
c9c0e111b8
More compile cleanups
1996-11-08 20:46:33 +00:00
Marc G. Fournier
8006c6f52f
Somehow PORTNAME keeps getting changed to BSD44_derived :(
1996-11-08 07:47:52 +00:00
Marc G. Fournier
cecf081aba
Change includes from "" to <>
1996-11-08 06:43:28 +00:00
Bryan Henderson
7886d7351e
Fix perbyte_cpu thing
1996-11-08 06:24:58 +00:00
Bruce Momjian
4b2b8592a0
Compile and warning cleanup
1996-11-08 06:02:30 +00:00
Marc G. Fournier
026387013e
Secondly, small problem when trying to create a MAX/MIN aggregate in 1.09.
...
>From the create_aggregate man page...
"The arguments to state-transition-function-1 must be
(stype1,basetype), and its return value must be stype1."
create aggregate MIN (sfunc1 = int2smaller,
basetype = int2,
stype1 = int2);
will fail becase int2smaller and int2larger are in pg_proc
as returning an int4. Can't happen since both args have to
be int2.
From: Darren King <aixssd!ceodev!darrenk@abs.net>
1996-11-08 01:08:37 +00:00
Marc G. Fournier
ad6ca0c3af
Another patch to quiet the compiler from D'Arcy
1996-11-08 00:59:10 +00:00
Marc G. Fournier
2768f391a4
There is a problem in the Makefile of libpgtcl on linux (and maybe also on
...
other platforms). If I do the standard make + make install the shared library
is not linked with the the libpq library and when I try to load it in the
standard Tcl or Tk shell I get a lot of unresolved symbols. The bug doesn't
affect pgtclsh because it is linked also with libpq. The problem exists only
when using the dynamic load feature of Tcl7.5.
From: Massimo Dal Zotto <dz@cs.unitn.it>
1996-11-08 00:58:07 +00:00
Marc G. Fournier
7d8b794a9a
Add some missing includes
...
From: Randy Terbush <randy@zyzzyva.com>
1996-11-08 00:56:17 +00:00
Marc G. Fournier
b38d565fc3
D'Arcy's recent cleanups
1996-11-08 00:46:14 +00:00
Bryan Henderson
00b1fb07f0
Try to fix mode.
1996-11-07 05:15:31 +00:00
Bryan Henderson
33b433b1af
Try to fix mode.
1996-11-07 05:10:17 +00:00
Bruce Momjian
388c0d81da
Change instructions for 1.*.
1996-11-06 22:32:18 +00:00
Marc G. Fournier
0020e8790d
Another directory that compiles with no errors, and few warnings
1996-11-06 10:32:10 +00:00
Marc G. Fournier
1d0dd471fa
Okay...this pretty much cleans out the include files.
...
I'm able to get through a 'make' of the backend with no errors except
the occasional 'might not be initialized error', which is nothing major,
just annoying.
Have a few patches from D'Arcy to incorporate, but am waiting until I can
get a clean compile first, which I'm hoping to have before bed, or sometime
tomorrow.
1996-11-06 10:31:02 +00:00
Marc G. Fournier
b6e640f829
Make sure that #include <postgres.h> is included in fmgrtab.c
1996-11-06 10:22:13 +00:00
Marc G. Fournier
b49d41884f
Add prototype for: int DebugFileOpen()
1996-11-06 10:15:25 +00:00
Marc G. Fournier
9f5eac1f97
...same...
1996-11-06 09:56:47 +00:00
Marc G. Fournier
58a0150f64
More files cleaned out
1996-11-06 09:29:26 +00:00
Marc G. Fournier
be9197320a
One by one, file by file
1996-11-06 09:27:29 +00:00
Marc G. Fournier
3f07f6bab2
Another
1996-11-06 09:24:57 +00:00
Marc G. Fournier
7d5e795596
Getting there, one by one...
1996-11-06 09:21:42 +00:00
Marc G. Fournier
92ec7b5812
And another
1996-11-06 09:19:16 +00:00
Marc G. Fournier
8b6b4d063a
another one bites the dust
1996-11-06 09:17:31 +00:00
Marc G. Fournier
83d93d437b
Just a couple of small mods
1996-11-06 08:54:17 +00:00
Marc G. Fournier
e0b772cc00
another gone
1996-11-06 08:52:04 +00:00
Marc G. Fournier
a472a29bb4
I'm getting there, slowly :)
1996-11-06 08:48:33 +00:00
Marc G. Fournier
e232909157
Slowly getting faster to make sure it compiles...still needs cleaning
...
up, but one thing at a time :)
1996-11-06 08:27:16 +00:00
Marc G. Fournier
7385619f14
Clean it up so that it compiles
1996-11-06 08:21:43 +00:00
Marc G. Fournier
33a8df7edd
Another one cleaned up
1996-11-06 08:07:45 +00:00
Marc G. Fournier
98f72c28dc
Oops, two includes unrequired
1996-11-06 08:05:02 +00:00
Marc G. Fournier
08905a7406
Another one bite sthe dust
1996-11-06 08:02:40 +00:00
Marc G. Fournier
6508241acb
another include cleaned out
1996-11-06 07:50:12 +00:00
Marc G. Fournier
87b07a3974
Further include file cleanups
1996-11-06 07:44:18 +00:00
Marc G. Fournier
9e3d4c43a7
Another directory cleaned up
1996-11-06 07:31:26 +00:00
Marc G. Fournier
8544daf645
Another one bites the dust
1996-11-06 07:05:18 +00:00
Marc G. Fournier
ce4c0ce1de
Some compile failure fixes from Keith Parks <emkxp01@mtcc.demon.co.uk>
1996-11-06 06:52:23 +00:00
Marc G. Fournier
e4725ee76a
Makes it compile...still needs work
1996-11-05 11:57:55 +00:00
Marc G. Fournier
90113e2847
another one quickly done up
1996-11-05 11:29:45 +00:00
Marc G. Fournier
dc0e256902
clean this one
1996-11-05 11:23:43 +00:00
Marc G. Fournier
225a224792
Missed a file...
...
access now compile with -Wall -Werror
1996-11-05 11:17:47 +00:00
Marc G. Fournier
03eb5a50e7
There, that cleans *that* out
1996-11-05 11:12:33 +00:00
Marc G. Fournier
050d148295
One more to go
1996-11-05 10:54:20 +00:00
Marc G. Fournier
6608278ea4
these ones have their dependencies cleaned up
1996-11-05 10:37:16 +00:00
Marc G. Fournier
500ce42f37
Almost done access...
1996-11-05 10:35:38 +00:00
Marc G. Fournier
4fa90e38d5
More cleanups
1996-11-05 10:02:06 +00:00
Marc G. Fournier
466f5fd729
More cleanups
1996-11-05 09:53:03 +00:00
Marc G. Fournier
4312192e6b
another directory cleaned of extraneous #includes
...
makefile fixed for fmgr.h
1996-11-05 09:40:25 +00:00
Marc G. Fournier
0cf60fb718
More cleaned out #include files
...
Makefile fixed for fmgr.h
1996-11-05 08:19:01 +00:00
Marc G. Fournier
d1e9a76131
Another run through.
...
This gets us a clean compile of 'common' and 'gist' with *clean* #include
files
1996-11-05 08:18:44 +00:00
Marc G. Fournier
1c3a7767ca
Re-add -I../.. for fmgr.h
...
Change #include "" to #include <>
Remove a few unused #includes
Make sure it compiles with -Wall -Werror
1996-11-05 07:42:46 +00:00
Marc G. Fournier
efef619b83
And double check changes
1996-11-05 07:41:13 +00:00
Marc G. Fournier
6c8482c970
Make sure all changes commited
1996-11-05 07:38:17 +00:00
Marc G. Fournier
51716fdd8d
Another
1996-11-05 07:24:03 +00:00
Marc G. Fournier
9ec5e78613
And another one
1996-11-05 07:22:50 +00:00
Marc G. Fournier
bc711a3f54
Another one bits the dust...
1996-11-05 07:20:09 +00:00
Marc G. Fournier
54c2aa99bd
And another...
1996-11-05 07:18:05 +00:00
Marc G. Fournier
8202bce9ba
And another..
1996-11-05 07:15:58 +00:00
Marc G. Fournier
7585d25185
Another one cleaned out
1996-11-05 07:07:22 +00:00
Marc G. Fournier
d2125805d1
Another directory totally cleaned out
1996-11-05 06:11:08 +00:00
Marc G. Fournier
abf578ac6c
Fix c.h for sparc_solaris
...
Pointed out by Keith Parks
1996-11-05 05:28:20 +00:00
Marc G. Fournier
fd569a2308
Clean up a few of the #include files
1996-11-05 05:26:32 +00:00
Marc G. Fournier
48a7170a71
Added missing #includes pointed out by Keith Parks
1996-11-05 05:25:44 +00:00
Marc G. Fournier
d2746c65b5
Make sure all the cleaned includes are commited
1996-11-04 12:12:52 +00:00
Marc G. Fournier
0e2822072c
Make sure all the cleaned up includes are commited
1996-11-04 12:11:44 +00:00
Marc G. Fournier
dc037969ad
Another one completely cleaned up
1996-11-04 12:07:05 +00:00
Marc G. Fournier
0b3cb80e03
finally, this directory is (should be!) totally clean
1996-11-04 11:51:27 +00:00
Bryan Henderson
7870c5a0d3
Add frontend \copy command.
1996-11-04 09:17:55 +00:00
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