]>
granicus.if.org Git - postgresql/log
Bryan Henderson [Thu, 14 Nov 1996 06:06:39 +0000 (06:06 +0000)]
Include stdlib.h to gives its NULL, etc. definitions precedence over ours.
Bruce Momjian [Thu, 14 Nov 1996 00:26:23 +0000 (00:26 +0000)]
Added percentage to CASSERT comment.
Marc G. Fournier [Wed, 13 Nov 1996 20:56:15 +0000 (20:56 +0000)]
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.
Bryan Henderson [Wed, 13 Nov 1996 11:43:04 +0000 (11:43 +0000)]
Fix syntax error introduced in last update.
Bryan Henderson [Wed, 13 Nov 1996 10:36:36 +0000 (10:36 +0000)]
Eliminate MKDIR, srcdir, objdir. Centralize setting of LIBPQDIR.
Bryan Henderson [Wed, 13 Nov 1996 08:36:31 +0000 (08:36 +0000)]
Make shared library builds work for BSD44_derived.
Bryan Henderson [Wed, 13 Nov 1996 06:36:38 +0000 (06:36 +0000)]
Forgot in yesterday's make file blitz.
Bryan Henderson [Tue, 12 Nov 1996 11:43:32 +0000 (11:43 +0000)]
End of the make file simplifications.
Bryan Henderson [Tue, 12 Nov 1996 11:41:27 +0000 (11:41 +0000)]
Put shared libraries in main directory, not obj/
Marc G. Fournier [Tue, 12 Nov 1996 11:16:44 +0000 (11:16 +0000)]
Fix for finding the include files
Bryan Henderson [Tue, 12 Nov 1996 11:09:13 +0000 (11:09 +0000)]
Quiet compiler warnings.
Bryan Henderson [Tue, 12 Nov 1996 06:47:10 +0000 (06:47 +0000)]
Use new utils/version.c instead of backend/utils/init/magic.c.
Bryan Henderson [Tue, 12 Nov 1996 06:11:52 +0000 (06:11 +0000)]
Add dependency for install.
Bryan Henderson [Tue, 12 Nov 1996 06:10:10 +0000 (06:10 +0000)]
Add install dependency.
Bryan Henderson [Tue, 12 Nov 1996 02:54:30 +0000 (02:54 +0000)]
Fix bug where it tries to do a cleardbdir when you make install.
Marc G. Fournier [Mon, 11 Nov 1996 16:33:12 +0000 (16:33 +0000)]
Add include file postgres.h
Marc G. Fournier [Mon, 11 Nov 1996 16:30:07 +0000 (16:30 +0000)]
Add a blank install target so that 'make install' works
Marc G. Fournier [Mon, 11 Nov 1996 14:55:49 +0000 (14:55 +0000)]
fix 'conflicting types' errors
Marc G. Fournier [Mon, 11 Nov 1996 14:44:04 +0000 (14:44 +0000)]
Add missing include errno.h
Bryan Henderson [Mon, 11 Nov 1996 14:24:38 +0000 (14:24 +0000)]
Goes with the recently added src/utils/version.c, will replace some stuff in
miscadmin.h.
Bruce Momjian [Mon, 11 Nov 1996 14:02:10 +0000 (14:02 +0000)]
Fixed double pfree on opaque.
Bryan Henderson [Mon, 11 Nov 1996 13:51:57 +0000 (13:51 +0000)]
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).
Bryan Henderson [Mon, 11 Nov 1996 13:41:36 +0000 (13:41 +0000)]
Makefile simplification: the "bin" chapter
Bryan Henderson [Mon, 11 Nov 1996 13:24:43 +0000 (13:24 +0000)]
Add DASH_N, BACKSLASH_C variables, moved from postgres.shell.mk.
Marc G. Fournier [Mon, 11 Nov 1996 12:19:05 +0000 (12:19 +0000)]
-----
|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
Marc G. Fournier [Mon, 11 Nov 1996 12:16:57 +0000 (12:16 +0000)]
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)
Marc G. Fournier [Mon, 11 Nov 1996 12:14:45 +0000 (12:14 +0000)]
Various cleanups from D'Arcy
Marc G. Fournier [Mon, 11 Nov 1996 11:49:40 +0000 (11:49 +0000)]
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...
Marc G. Fournier [Mon, 11 Nov 1996 11:29:15 +0000 (11:29 +0000)]
change include c.h to postgres.h
Bruce Momjian [Mon, 11 Nov 1996 05:55:33 +0000 (05:55 +0000)]
Remove warnings when readline is not used.
Bruce Momjian [Mon, 11 Nov 1996 04:54:54 +0000 (04:54 +0000)]
Warning removal cleanup
Bruce Momjian [Mon, 11 Nov 1996 03:12:00 +0000 (03:12 +0000)]
Moved -Werror to COPT.
Bruce Momjian [Sun, 10 Nov 1996 17:35:58 +0000 (17:35 +0000)]
Removed -Wmissing-declaration.
Bryan Henderson [Sun, 10 Nov 1996 04:09:51 +0000 (04:09 +0000)]
Change gmake to $(MAKE) so backend compiles on system with no "gmake".
Bruce Momjian [Sun, 10 Nov 1996 03:30:46 +0000 (03:30 +0000)]
prototype cleanup
Bryan Henderson [Sun, 10 Nov 1996 03:13:59 +0000 (03:13 +0000)]
Recognize dependencies more reliably.
Bruce Momjian [Sun, 10 Nov 1996 03:06:38 +0000 (03:06 +0000)]
All external function definitions now have prototypes that are checked.
Bryan Henderson [Sun, 10 Nov 1996 02:27:15 +0000 (02:27 +0000)]
Quiet compiler warnings.
Bryan Henderson [Sun, 10 Nov 1996 01:46:14 +0000 (01:46 +0000)]
Add #include <ctype.h> to quiet compiler about missing declaration of isspace().
Bryan Henderson [Sun, 10 Nov 1996 01:37:48 +0000 (01:37 +0000)]
Add #include <unistd.h> to quiet compiler warning about missing getopt() declaratoin.
Bryan Henderson [Sun, 10 Nov 1996 01:35:39 +0000 (01:35 +0000)]
Add #include <unistd.h> to quiet warning about missing getopt() declaration.
Bryan Henderson [Sun, 10 Nov 1996 01:20:44 +0000 (01:20 +0000)]
Remove #include <regex.h> so it compiles on systems with GNU regex library.
Bryan Henderson [Sun, 10 Nov 1996 00:50:54 +0000 (00:50 +0000)]
Add USE_POSIX_TIME, HAVE_TZSET for Linux so backend compiles.
Bryan Henderson [Sun, 10 Nov 1996 00:38:38 +0000 (00:38 +0000)]
Make it find inet_aton.h so backend compiles on Solaris.
Marc G. Fournier [Sat, 9 Nov 1996 10:39:54 +0000 (10:39 +0000)]
Added in PQconnectdb() function
Submitted by: wieck@sapserv.debis.de (Jan Wieck)
Marc G. Fournier [Sat, 9 Nov 1996 10:29:50 +0000 (10:29 +0000)]
various docs changes requested by Bryan
Bruce Momjian [Sat, 9 Nov 1996 06:24:51 +0000 (06:24 +0000)]
Makefile cleanup after reorganization
Bruce Momjian [Sat, 9 Nov 1996 05:48:28 +0000 (05:48 +0000)]
Added new include file.
Marc G. Fournier [Sat, 9 Nov 1996 01:48:32 +0000 (01:48 +0000)]
A few more sparc_solaris cleanups from keith parks
Bruce Momjian [Fri, 8 Nov 1996 21:40:11 +0000 (21:40 +0000)]
Fix typo in file name found during install.
Bruce Momjian [Fri, 8 Nov 1996 20:46:33 +0000 (20:46 +0000)]
More compile cleanups
Marc G. Fournier [Fri, 8 Nov 1996 07:47:52 +0000 (07:47 +0000)]
Somehow PORTNAME keeps getting changed to BSD44_derived :(
Marc G. Fournier [Fri, 8 Nov 1996 06:43:28 +0000 (06:43 +0000)]
Change includes from "" to <>
Bryan Henderson [Fri, 8 Nov 1996 06:24:58 +0000 (06:24 +0000)]
Fix perbyte_cpu thing
Bruce Momjian [Fri, 8 Nov 1996 06:02:30 +0000 (06:02 +0000)]
Compile and warning cleanup
Marc G. Fournier [Fri, 8 Nov 1996 01:10:15 +0000 (01:10 +0000)]
quick doc cleanup for libpgtcl from D'Arcy
Marc G. Fournier [Fri, 8 Nov 1996 01:08:37 +0000 (01:08 +0000)]
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>
Marc G. Fournier [Fri, 8 Nov 1996 00:59:10 +0000 (00:59 +0000)]
Another patch to quiet the compiler from D'Arcy
Marc G. Fournier [Fri, 8 Nov 1996 00:58:07 +0000 (00:58 +0000)]
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>
Marc G. Fournier [Fri, 8 Nov 1996 00:56:17 +0000 (00:56 +0000)]
Add some missing includes
From: Randy Terbush <randy@zyzzyva.com>
Marc G. Fournier [Fri, 8 Nov 1996 00:46:14 +0000 (00:46 +0000)]
D'Arcy's recent cleanups
Bruce Momjian [Thu, 7 Nov 1996 15:24:27 +0000 (15:24 +0000)]
Cleanup initdb for 1.*.
Bryan Henderson [Thu, 7 Nov 1996 05:15:31 +0000 (05:15 +0000)]
Try to fix mode.
Bryan Henderson [Thu, 7 Nov 1996 05:10:17 +0000 (05:10 +0000)]
Try to fix mode.
Bruce Momjian [Wed, 6 Nov 1996 22:34:18 +0000 (22:34 +0000)]
Update initdb instructions for a 1.* database.
Bruce Momjian [Wed, 6 Nov 1996 22:32:18 +0000 (22:32 +0000)]
Change instructions for 1.*.
Marc G. Fournier [Wed, 6 Nov 1996 10:32:10 +0000 (10:32 +0000)]
Another directory that compiles with no errors, and few warnings
Marc G. Fournier [Wed, 6 Nov 1996 10:31:02 +0000 (10:31 +0000)]
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.
Marc G. Fournier [Wed, 6 Nov 1996 10:22:13 +0000 (10:22 +0000)]
Make sure that #include <postgres.h> is included in fmgrtab.c
Marc G. Fournier [Wed, 6 Nov 1996 10:15:25 +0000 (10:15 +0000)]
Add prototype for: int DebugFileOpen()
Marc G. Fournier [Wed, 6 Nov 1996 09:56:47 +0000 (09:56 +0000)]
...same...
Marc G. Fournier [Wed, 6 Nov 1996 09:29:26 +0000 (09:29 +0000)]
More files cleaned out
Marc G. Fournier [Wed, 6 Nov 1996 09:27:29 +0000 (09:27 +0000)]
One by one, file by file
Marc G. Fournier [Wed, 6 Nov 1996 09:24:57 +0000 (09:24 +0000)]
Another
Marc G. Fournier [Wed, 6 Nov 1996 09:21:42 +0000 (09:21 +0000)]
Getting there, one by one...
Marc G. Fournier [Wed, 6 Nov 1996 09:19:16 +0000 (09:19 +0000)]
And another
Marc G. Fournier [Wed, 6 Nov 1996 09:17:31 +0000 (09:17 +0000)]
another one bites the dust
Marc G. Fournier [Wed, 6 Nov 1996 08:54:17 +0000 (08:54 +0000)]
Just a couple of small mods
Marc G. Fournier [Wed, 6 Nov 1996 08:52:04 +0000 (08:52 +0000)]
another gone
Marc G. Fournier [Wed, 6 Nov 1996 08:48:33 +0000 (08:48 +0000)]
I'm getting there, slowly :)
Marc G. Fournier [Wed, 6 Nov 1996 08:27:16 +0000 (08:27 +0000)]
Slowly getting faster to make sure it compiles...still needs cleaning
up, but one thing at a time :)
Marc G. Fournier [Wed, 6 Nov 1996 08:21:43 +0000 (08:21 +0000)]
Clean it up so that it compiles
Marc G. Fournier [Wed, 6 Nov 1996 08:07:45 +0000 (08:07 +0000)]
Another one cleaned up
Marc G. Fournier [Wed, 6 Nov 1996 08:05:02 +0000 (08:05 +0000)]
Oops, two includes unrequired
Marc G. Fournier [Wed, 6 Nov 1996 08:02:40 +0000 (08:02 +0000)]
Another one bite sthe dust
Marc G. Fournier [Wed, 6 Nov 1996 07:50:12 +0000 (07:50 +0000)]
another include cleaned out
Marc G. Fournier [Wed, 6 Nov 1996 07:44:18 +0000 (07:44 +0000)]
Further include file cleanups
Marc G. Fournier [Wed, 6 Nov 1996 07:31:26 +0000 (07:31 +0000)]
Another directory cleaned up
Marc G. Fournier [Wed, 6 Nov 1996 07:05:18 +0000 (07:05 +0000)]
Another one bites the dust
Marc G. Fournier [Wed, 6 Nov 1996 06:52:23 +0000 (06:52 +0000)]
Some compile failure fixes from Keith Parks <emkxp01@mtcc.demon.co.uk>
Marc G. Fournier [Tue, 5 Nov 1996 11:57:55 +0000 (11:57 +0000)]
Makes it compile...still needs work
Marc G. Fournier [Tue, 5 Nov 1996 11:29:45 +0000 (11:29 +0000)]
another one quickly done up
Marc G. Fournier [Tue, 5 Nov 1996 11:23:43 +0000 (11:23 +0000)]
clean this one
Marc G. Fournier [Tue, 5 Nov 1996 11:17:47 +0000 (11:17 +0000)]
Missed a file...
access now compile with -Wall -Werror
Marc G. Fournier [Tue, 5 Nov 1996 11:12:33 +0000 (11:12 +0000)]
There, that cleans *that* out
Marc G. Fournier [Tue, 5 Nov 1996 10:54:20 +0000 (10:54 +0000)]
One more to go
Marc G. Fournier [Tue, 5 Nov 1996 10:37:16 +0000 (10:37 +0000)]
these ones have their dependencies cleaned up
Marc G. Fournier [Tue, 5 Nov 1996 10:35:38 +0000 (10:35 +0000)]
Almost done access...
Marc G. Fournier [Tue, 5 Nov 1996 10:02:06 +0000 (10:02 +0000)]
More cleanups
Marc G. Fournier [Tue, 5 Nov 1996 09:53:03 +0000 (09:53 +0000)]
More cleanups