]>
granicus.if.org Git - postgresql/log
Bryan Henderson [Tue, 26 Nov 1996 08:12:39 +0000 (08:12 +0000)]
OK, I think I've got the postconfig thing right now.
Bryan Henderson [Tue, 26 Nov 1996 07:39:11 +0000 (07:39 +0000)]
Whoops, redo Ultrix patch so the other ports still compile.
Bryan Henderson [Tue, 26 Nov 1996 06:33:18 +0000 (06:33 +0000)]
Fix double-colon syntax error on fe-lobj.o.
Bryan Henderson [Tue, 26 Nov 1996 03:20:35 +0000 (03:20 +0000)]
Make it compile on Ultrix. Thanks Erik Bertelson.
Bryan Henderson [Tue, 26 Nov 1996 02:45:05 +0000 (02:45 +0000)]
Properly structure ProcedureNameIndexScan so it doesn't generate
"may be used before being set" warnings.
Bryan Henderson [Tue, 26 Nov 1996 01:17:56 +0000 (01:17 +0000)]
Put in #include <fcntl.h> for those systems that don't have it included by something else.
Bryan Henderson [Tue, 26 Nov 1996 01:14:38 +0000 (01:14 +0000)]
-Werror fixes from D'Arcy.
Bryan Henderson [Mon, 25 Nov 1996 06:33:51 +0000 (06:33 +0000)]
Include fcntl.h, which is not automatically included by sys/file.h on all systems.
Bryan Henderson [Mon, 25 Nov 1996 05:51:50 +0000 (05:51 +0000)]
Go back to $(postconfig...) from $(exec postconfig...) so it works on non-bash.
Bruce Momjian [Mon, 25 Nov 1996 03:03:48 +0000 (03:03 +0000)]
Prevent empty queries from crashing server.
Bryan Henderson [Sun, 24 Nov 1996 05:58:57 +0000 (05:58 +0000)]
Fix access through null pointer info->rule_action. Thanks Darren King.
Bryan Henderson [Sun, 24 Nov 1996 05:46:12 +0000 (05:46 +0000)]
Fix syntax error: missing argument to elog(). Thanks Darren King.
Bryan Henderson [Sun, 24 Nov 1996 04:44:24 +0000 (04:44 +0000)]
Typecasts, etc. to make compile work on AIX. Thanks Darren King..
Bryan Henderson [Sun, 24 Nov 1996 04:07:17 +0000 (04:07 +0000)]
Move include of signal.h inside pqsignal.h so it's always where it's needed.
Bryan Henderson [Sun, 24 Nov 1996 03:55:19 +0000 (03:55 +0000)]
Add dep: rule.
Bryan Henderson [Sat, 23 Nov 1996 09:51:57 +0000 (09:51 +0000)]
First pass at getting shared libraries on AIX properly built.
Bryan Henderson [Sat, 23 Nov 1996 09:42:51 +0000 (09:42 +0000)]
Eliminate pesky "postconfig not found" message.
Bruce Momjian [Fri, 22 Nov 1996 06:45:14 +0000 (06:45 +0000)]
Fix for \g strdup error.
Bryan Henderson [Fri, 22 Nov 1996 04:43:48 +0000 (04:43 +0000)]
Include ctype.h to fix Kurt Lidl's compile problem.
Bryan Henderson [Fri, 22 Nov 1996 04:39:53 +0000 (04:39 +0000)]
Include stdio.h to fix Craig Anderson's compile problem.
Bryan Henderson [Fri, 22 Nov 1996 04:33:34 +0000 (04:33 +0000)]
Fix bug: No -D option to postgres
Bryan Henderson [Fri, 22 Nov 1996 04:32:41 +0000 (04:32 +0000)]
Fix bug: -D options implies -d option.
Vadim B. Mikheev [Thu, 21 Nov 1996 06:13:43 +0000 (06:13 +0000)]
Fix memory overhelding while forming index' result:
memory allocation for ItemPointerData of heap' tuple is useless
because of FormRetrieveIndexResult makes neccessary palloc.
Vadim B. Mikheev [Thu, 21 Nov 1996 06:06:52 +0000 (06:06 +0000)]
Fix memory overhelding while forming index' result:
memory allocation for ItemPointerData of heap' tuple is useless
because of FormRetrieveIndexResult makes neccessary palloc.
Vadim B. Mikheev [Thu, 21 Nov 1996 06:02:56 +0000 (06:02 +0000)]
Fix memory overhelding while forming index' result:
memory allocation for ItemPointerData of heap' tuple is useless
because of FormRetrieveIndexResult makes neccessary palloc.
Bruce Momjian [Wed, 20 Nov 1996 22:58:22 +0000 (22:58 +0000)]
Can't add a keyword without making it a keyword. :-)
D'Arcy J.M. Cain | Democracy is three wolves
Bruce Momjian [Wed, 20 Nov 1996 22:53:49 +0000 (22:53 +0000)]
Otherwise "gmake install" fails.
D'Arcy J.M. Cain | Democracy is three wolves
Bruce Momjian [Wed, 20 Nov 1996 22:53:10 +0000 (22:53 +0000)]
There is a bug in aclinsert3 in the code which update the acl arrays.
When an acl item is added or updated the new entry is deleted if it has no
permissions and the acl array is shrinked. This is is done by decrementing
the number of items without updating the corresponding array size.
The array with the incorrect size is later read by pg_aclcheck and the entry
count is used to allocate a new array while the array size is used to copy
the old one. This causes a memory corruption and a backend crash.
This happens only to normal user as the administrator bypasses acl checks.
Massimo Dal Zotto
Bruce Momjian [Wed, 20 Nov 1996 22:35:19 +0000 (22:35 +0000)]
following is a little fix for libpq.
PQexec handles the possibility of multiple results from one
query by simply submitting an empty query after the first
result and waiting for an 'I' message.
Rules can generate errors with transaction abort after the
first 'C' message was recieved (e.g. if a C-language function
used in a rule calls elog(WARN, ...)). Thus we have to look
for.
Jan(wieck@sapserv.debis.de)
Bruce Momjian [Wed, 20 Nov 1996 22:34:36 +0000 (22:34 +0000)]
Fix \g filename. Free allocated memory and don't use memory that has
been freed.
Bruce Momjian [Wed, 20 Nov 1996 22:32:55 +0000 (22:32 +0000)]
Here is the patch for pg_dump not handling NULL values in 'insert'
mode properly. This will apply correctly to 1.09 & 2.0 sources.
From David H. Bennett
Bruce Momjian [Wed, 20 Nov 1996 01:54:13 +0000 (01:54 +0000)]
Fix for man Makefile. Added 'all'.
Bruce Momjian [Tue, 19 Nov 1996 22:23:13 +0000 (22:23 +0000)]
Make install change for man files
Bruce Momjian [Tue, 19 Nov 1996 05:06:39 +0000 (05:06 +0000)]
Removed old Assert's used during development.
Bryan Henderson [Tue, 19 Nov 1996 02:57:10 +0000 (02:57 +0000)]
This file has not been part of the regression test for many releases.
Bryan Henderson [Tue, 19 Nov 1996 02:55:37 +0000 (02:55 +0000)]
The routines in magic.c have moved to the more accessible version.c.
Bryan Henderson [Tue, 19 Nov 1996 02:52:21 +0000 (02:52 +0000)]
Eliminate mk/ directory. The tyranny of the included make file templates is
ended!
Bryan Henderson [Tue, 19 Nov 1996 02:43:46 +0000 (02:43 +0000)]
Build man/ instead of ../doc. Man pages have moved there.
Bruce Momjian [Mon, 18 Nov 1996 16:32:53 +0000 (16:32 +0000)]
Added DLSUFFIX to bsdi.
Bruce Momjian [Mon, 18 Nov 1996 06:07:56 +0000 (06:07 +0000)]
Rename SLSUFF to DLSUFFIX
Bryan Henderson [Mon, 18 Nov 1996 02:27:27 +0000 (02:27 +0000)]
Include some macros that used to be -D options in Makefile.global.
Bryan Henderson [Mon, 18 Nov 1996 02:26:57 +0000 (02:26 +0000)]
Remove linux define of __USE_POSIX, which doesn't appear to do anything.
Bryan Henderson [Mon, 18 Nov 1996 02:25:09 +0000 (02:25 +0000)]
Add comments about the diversity of signal functionality. Came from
Makefile.global.
Bryan Henderson [Mon, 18 Nov 1996 02:23:41 +0000 (02:23 +0000)]
Make port-specific link libraries defined for linking backend more global
so you can also link pgtclsh.
Bryan Henderson [Mon, 18 Nov 1996 01:45:44 +0000 (01:45 +0000)]
Quiet compiler warnings about missing prototypes in Linux's bitops.h.
Bryan Henderson [Mon, 18 Nov 1996 01:44:28 +0000 (01:44 +0000)]
Quiet compiler warnings, ignore the ones we can't.
Bryan Henderson [Mon, 18 Nov 1996 01:43:55 +0000 (01:43 +0000)]
Ignore compiler warnings, because we can't escape "abstract declarator used
as declaration".
Bruce Momjian [Sun, 17 Nov 1996 20:30:32 +0000 (20:30 +0000)]
Renamed file. Restored SLSUFF to .so.
Bruce Momjian [Sun, 17 Nov 1996 19:40:15 +0000 (19:40 +0000)]
Enable manual pages to be installed.
Bruce Momjian [Sun, 17 Nov 1996 19:27:38 +0000 (19:27 +0000)]
Copy needed include files into standard directory.
Bruce Momjian [Sun, 17 Nov 1996 19:26:44 +0000 (19:26 +0000)]
Change SLSUFF from .so to .o as default.
Bruce Momjian [Sun, 17 Nov 1996 05:26:57 +0000 (05:26 +0000)]
New backend directory description file.
Bruce Momjian [Sun, 17 Nov 1996 04:56:16 +0000 (04:56 +0000)]
Fix for -da option of pg_dump.
Bruce Momjian [Sun, 17 Nov 1996 04:27:34 +0000 (04:27 +0000)]
Fix for return code of psql in manual.
Bruce Momjian [Sun, 17 Nov 1996 04:26:59 +0000 (04:26 +0000)]
Fix for error when viewing group access privs.
Bruce Momjian [Sun, 17 Nov 1996 04:23:10 +0000 (04:23 +0000)]
Fix for Alter TABLE add column varchar(). Was causing zero length.
Bryan Henderson [Sun, 17 Nov 1996 03:55:07 +0000 (03:55 +0000)]
Fix syntax errors so it runs without error messages.
Bryan Henderson [Sat, 16 Nov 1996 09:03:44 +0000 (09:03 +0000)]
Remove old GetPGData reference that causes warning.
Bryan Henderson [Sat, 16 Nov 1996 08:09:16 +0000 (08:09 +0000)]
Add #include <sys/types.h> so it works with Ultrix's in.h
Bruce Momjian [Sat, 16 Nov 1996 05:45:56 +0000 (05:45 +0000)]
Added documentation on new unique index capability.
Bruce Momjian [Sat, 16 Nov 1996 05:18:58 +0000 (05:18 +0000)]
Added include file needed by memset().
Bruce Momjian [Sat, 16 Nov 1996 04:59:10 +0000 (04:59 +0000)]
Add prototype for new datetime functions.
Bruce Momjian [Fri, 15 Nov 1996 18:38:55 +0000 (18:38 +0000)]
Remove quote removal. Moved to parser.
Bruce Momjian [Fri, 15 Nov 1996 18:38:20 +0000 (18:38 +0000)]
Correct permissions on lo_export(). Open up permissions.
Bruce Momjian [Fri, 15 Nov 1996 18:37:37 +0000 (18:37 +0000)]
Fix quote/doublequote handling.
Bruce Momjian [Fri, 15 Nov 1996 18:37:10 +0000 (18:37 +0000)]
Remove PERFECT_MEM
Unallocate opaque.
Bruce Momjian [Fri, 15 Nov 1996 18:36:31 +0000 (18:36 +0000)]
Unallocate opaque.
Bruce Momjian [Fri, 15 Nov 1996 17:55:31 +0000 (17:55 +0000)]
Changed " to '. Removed bug section from psql. added reminder for log call
in built-in. fixed backslases in source for libpq.
Marc G. Fournier [Fri, 15 Nov 1996 09:54:28 +0000 (09:54 +0000)]
Mulitple inclusion of sys/socket.h
Pointed out by: Erik Bertelsen <erik@sockdev.uni-c.dk>
Marc G. Fournier [Thu, 14 Nov 1996 21:39:14 +0000 (21:39 +0000)]
Features added:
* Wrote max(date) and min(date) aggregates
* Wrote operator "-" for date; date - date yields number of days
difference
* Wrote operator+(date,int) and operator-(date,int); the int is the
number of days. Each operator returns a new date.
By: Tom Tromey <tromey@creche.cygnus.com>
Marc G. Fournier [Thu, 14 Nov 1996 20:49:09 +0000 (20:49 +0000)]
Bring in Randy's NOROOT patch
Marc G. Fournier [Thu, 14 Nov 1996 20:27:06 +0000 (20:27 +0000)]
Fix a comment...was going to fix the <sys/types.h> problem, but
Randy is submitting a more comprehensive patch :)
Marc G. Fournier [Thu, 14 Nov 1996 20:08:58 +0000 (20:08 +0000)]
Couple of Ultrix4 related patches submited by:
Erik Bertelsen <erik@sockdev.uni-c.dk>
Marc G. Fournier [Thu, 14 Nov 1996 20:06:39 +0000 (20:06 +0000)]
Fix a comment that wasn't commente'd out
Pointed out by: Erik Bertelsen <erik@sockdev.uni-c.dk>
Bruce Momjian [Thu, 14 Nov 1996 16:09:28 +0000 (16:09 +0000)]
Remove comments psql was putting in output, typo's.
psql now returns error from queries and errors files, so ignore return code.
Bruce Momjian [Thu, 14 Nov 1996 16:08:05 +0000 (16:08 +0000)]
Overhaul MainLoop input processing for quotes, comments, backslashes.
Bryan Henderson [Thu, 14 Nov 1996 10:25:54 +0000 (10:25 +0000)]
Remove most compile-time options, add a few runtime options to make up for it.
In particular, no more compiled-in default for PGDATA or LIBDIR. Commands
that need them need either invocation options or environment variables.
PGPORT default is hardcoded as 5432, but overrideable with options or
environment variables.
Marc G. Fournier [Thu, 14 Nov 1996 10:18:14 +0000 (10:18 +0000)]
moved man pages here, as requested by Bryan
Marc G. Fournier [Thu, 14 Nov 1996 10:15:16 +0000 (10:15 +0000)]
Removed man pages...moved to src/man
Requested by Bryan
Bryan Henderson [Thu, 14 Nov 1996 09:24:39 +0000 (09:24 +0000)]
Missed this part when I eliminated $(srcdir); src/bin stuff won't compile.
Bryan Henderson [Thu, 14 Nov 1996 08:23:31 +0000 (08:23 +0000)]
Use port-protos.h instead of trying to declare random() and srandom()
explicitly.
Bryan Henderson [Thu, 14 Nov 1996 07:33:34 +0000 (07:33 +0000)]
Use -Wno-error option only if compiler is gcc.
Bryan Henderson [Thu, 14 Nov 1996 07:19:26 +0000 (07:19 +0000)]
Use -W options only if compiler is gcc.
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