Commit Graph

  • 134c35c761 no change Bruce Momjian 1996-11-27 13:48:23 +00:00
  • 79b1a0ff35 Allow all empty queries to return EMPTY. Bruce Momjian 1996-11-27 13:47:05 +00:00
  • 9c0afeabb7 More stuff to make it compile on various ports. Bryan Henderson 1996-11-27 08:16:44 +00:00
  • a38365e0eb New structures for new vacuum. Vadim B. Mikheev 1996-11-27 07:35:06 +00:00
  • 948720ee94 New mdtruncate() & smgrtruncate() funcs. Vadim B. Mikheev 1996-11-27 07:33:42 +00:00
  • b41aa3903c TransactionIdIsInProgress moved to shmem.c Vadim B. Mikheev 1996-11-27 07:32:10 +00:00
  • f0c5a6c614 Shrinking and other things. Vadim B. Mikheev 1996-11-27 07:27:20 +00:00
  • 3385497228 New smgrtruncate smgr' interface func. Vadim B. Mikheev 1996-11-27 07:25:52 +00:00
  • a2a33e1344 New mdtruncate() func for single segment relations (< 2Gb). Vadim B. Mikheev 1996-11-27 07:24:02 +00:00
  • 3643248ae2 TransactionIdIsInProgress is here now and gives quality answer by scanning PROC structures of all running backend. Vadim B. Mikheev 1996-11-27 07:20:07 +00:00
  • 47312ec134 Setting MyProc->xid to InvalidTransactionId while creating PROC structure (it's for new TransactionIdIsInProgress func). Vadim B. Mikheev 1996-11-27 07:17:48 +00:00
  • 713b65e19c Setting MyProc->xid to current transaction' id in StartTransaction and to InvalidTransactionId in CommitTransaction & AbortTransaction (it's for new TransactionIdIsInProgress func). Vadim B. Mikheev 1996-11-27 07:14:51 +00:00
  • 1db76d708c TransactionIdIsInProgress moved to shmem.c Vadim B. Mikheev 1996-11-27 07:10:59 +00:00
  • 89c7e18b3f Forgot in yesterday's Ultrix compile work. Bryan Henderson 1996-11-27 01:46:52 +00:00
  • 8cfe27dff0 OK, I think I've got the postconfig thing right now. Bryan Henderson 1996-11-26 08:12:39 +00:00
  • 93f722536f Whoops, redo Ultrix patch so the other ports still compile. Bryan Henderson 1996-11-26 07:39:11 +00:00
  • c118543186 Fix double-colon syntax error on fe-lobj.o. Bryan Henderson 1996-11-26 06:33:18 +00:00
  • 46d58fba33 Make it compile on Ultrix. Thanks Erik Bertelson. Bryan Henderson 1996-11-26 03:20:35 +00:00
  • 02c0eb6549 Properly structure ProcedureNameIndexScan so it doesn't generate "may be used before being set" warnings. Bryan Henderson 1996-11-26 02:45:05 +00:00
  • bf14017220 Put in #include <fcntl.h> for those systems that don't have it included by something else. Bryan Henderson 1996-11-26 01:17:56 +00:00
  • f93f780269 -Werror fixes from D'Arcy. Bryan Henderson 1996-11-26 01:14:38 +00:00
  • 46c4e6f626 Include fcntl.h, which is not automatically included by sys/file.h on all systems. Bryan Henderson 1996-11-25 06:33:51 +00:00
  • 1d84088f50 Go back to $(postconfig...) from $(exec postconfig...) so it works on non-bash. Bryan Henderson 1996-11-25 05:51:50 +00:00
  • 6c2925b884 Prevent empty queries from crashing server. Bruce Momjian 1996-11-25 03:03:48 +00:00
  • 02db1f58cb Fix access through null pointer info->rule_action. Thanks Darren King. Bryan Henderson 1996-11-24 05:58:57 +00:00
  • 9602150a04 Fix syntax error: missing argument to elog(). Thanks Darren King. Bryan Henderson 1996-11-24 05:46:12 +00:00
  • 092c7a6be5 Typecasts, etc. to make compile work on AIX. Thanks Darren King.. Bryan Henderson 1996-11-24 04:44:24 +00:00
  • d3f9d6ad4f Move include of signal.h inside pqsignal.h so it's always where it's needed. Bryan Henderson 1996-11-24 04:07:17 +00:00
  • 7e499bd112 Add dep: rule. Bryan Henderson 1996-11-24 03:55:19 +00:00
  • 5c410fa0b9 First pass at getting shared libraries on AIX properly built. Bryan Henderson 1996-11-23 09:51:57 +00:00
  • 45f1d32bf1 Eliminate pesky "postconfig not found" message. Bryan Henderson 1996-11-23 09:42:51 +00:00
  • eda3771290 Fix for \g strdup error. Bruce Momjian 1996-11-22 06:45:14 +00:00
  • 25fe3c7098 Include ctype.h to fix Kurt Lidl's compile problem. Bryan Henderson 1996-11-22 04:43:48 +00:00
  • 4da9c597af Include stdio.h to fix Craig Anderson's compile problem. Bryan Henderson 1996-11-22 04:39:53 +00:00
  • 86ab9a5118 Fix bug: No -D option to postgres Bryan Henderson 1996-11-22 04:33:34 +00:00
  • e67cc8a346 Fix bug: -D options implies -d option. Bryan Henderson 1996-11-22 04:32:41 +00:00
  • 8c2f099ab5 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 1996-11-21 06:13:43 +00:00
  • 5d7e44fc8e Fix memory overhelding while forming index' result: Vadim B. Mikheev 1996-11-21 06:06:52 +00:00
  • 05b3b8613d 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 1996-11-21 06:02:56 +00:00
  • 58802bf39a Can't add a keyword without making it a keyword. :-) D'Arcy J.M. Cain | Democracy is three wolves Bruce Momjian 1996-11-20 22:58:22 +00:00
  • cd743f8388 Otherwise "gmake install" fails. Bruce Momjian 1996-11-20 22:53:49 +00:00
  • c4d6bda2c5 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 1996-11-20 22:53:10 +00:00
  • 8299e75577 following is a little fix for libpq. Bruce Momjian 1996-11-20 22:35:19 +00:00
  • 6399c74f17 Fix \g filename. Free allocated memory and don't use memory that has been freed. Bruce Momjian 1996-11-20 22:34:36 +00:00
  • 9d45f22e38 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 1996-11-20 22:32:55 +00:00
  • bdb25dbad6 Fix for man Makefile. Added 'all'. Bruce Momjian 1996-11-20 01:54:13 +00:00
  • 9529238d78 Make install change for man files Bruce Momjian 1996-11-19 22:23:13 +00:00
  • 2abbf392bd Removed old Assert's used during development. Bruce Momjian 1996-11-19 05:06:39 +00:00
  • 81f5c669e9 This file has not been part of the regression test for many releases. Bryan Henderson 1996-11-19 02:57:10 +00:00
  • 13312a007d The routines in magic.c have moved to the more accessible version.c. Bryan Henderson 1996-11-19 02:55:37 +00:00
  • b8eb6400de Eliminate mk/ directory. The tyranny of the included make file templates is ended! Bryan Henderson 1996-11-19 02:52:21 +00:00
  • be421b9b9a Build man/ instead of ../doc. Man pages have moved there. Bryan Henderson 1996-11-19 02:43:46 +00:00
  • c6453ea75f Added DLSUFFIX to bsdi. Bruce Momjian 1996-11-18 16:32:53 +00:00
  • 317f375bb2 Rename SLSUFF to DLSUFFIX Bruce Momjian 1996-11-18 06:07:56 +00:00
  • 4a820de1f2 Include some macros that used to be -D options in Makefile.global. Bryan Henderson 1996-11-18 02:27:27 +00:00
  • e2a8163c40 Remove linux define of __USE_POSIX, which doesn't appear to do anything. Bryan Henderson 1996-11-18 02:26:57 +00:00
  • b55d49f5fe Add comments about the diversity of signal functionality. Came from Makefile.global. Bryan Henderson 1996-11-18 02:25:09 +00:00
  • 87f5fda6b9 Make port-specific link libraries defined for linking backend more global so you can also link pgtclsh. Bryan Henderson 1996-11-18 02:23:41 +00:00
  • bd57c3afe5 Quiet compiler warnings about missing prototypes in Linux's bitops.h. Bryan Henderson 1996-11-18 01:45:44 +00:00
  • 435d4f4a79 Quiet compiler warnings, ignore the ones we can't. Bryan Henderson 1996-11-18 01:44:28 +00:00
  • e780f0fef3 Ignore compiler warnings, because we can't escape "abstract declarator used as declaration". Bryan Henderson 1996-11-18 01:43:55 +00:00
  • 529189f407 Renamed file. Restored SLSUFF to .so. Bruce Momjian 1996-11-17 20:30:32 +00:00
  • ce7a3b3a82 Enable manual pages to be installed. Bruce Momjian 1996-11-17 19:40:15 +00:00
  • 99a4dc0598 Copy needed include files into standard directory. Bruce Momjian 1996-11-17 19:27:38 +00:00
  • b715c3ad96 Change SLSUFF from .so to .o as default. Bruce Momjian 1996-11-17 19:26:44 +00:00
  • 75f58aef7c New backend directory description file. Bruce Momjian 1996-11-17 05:26:57 +00:00
  • ca1a20eba4 Fix for -da option of pg_dump. Bruce Momjian 1996-11-17 04:56:16 +00:00
  • cc7f032289 Fix for return code of psql in manual. Bruce Momjian 1996-11-17 04:27:34 +00:00
  • 003b76f9ac Fix for error when viewing group access privs. Bruce Momjian 1996-11-17 04:26:59 +00:00
  • 4b130b2209 Fix for Alter TABLE add column varchar(). Was causing zero length. Bruce Momjian 1996-11-17 04:23:10 +00:00
  • 620f014621 Fix syntax errors so it runs without error messages. Bryan Henderson 1996-11-17 03:55:07 +00:00
  • aef6163388 Remove old GetPGData reference that causes warning. Bryan Henderson 1996-11-16 09:03:44 +00:00
  • 7bf3bae1a4 Add #include <sys/types.h> so it works with Ultrix's in.h Bryan Henderson 1996-11-16 08:09:16 +00:00
  • 5dd3c5620c Added documentation on new unique index capability. Bruce Momjian 1996-11-16 05:45:56 +00:00
  • 4024d43069 Added include file needed by memset(). Bruce Momjian 1996-11-16 05:18:58 +00:00
  • b3ce105b31 Add prototype for new datetime functions. Bruce Momjian 1996-11-16 04:59:10 +00:00
  • 7085aba53c Remove quote removal. Moved to parser. Bruce Momjian 1996-11-15 18:38:55 +00:00
  • 36aaf2505d Correct permissions on lo_export(). Open up permissions. Bruce Momjian 1996-11-15 18:38:20 +00:00
  • 3f53311088 Fix quote/doublequote handling. Bruce Momjian 1996-11-15 18:37:37 +00:00
  • b847d29785 Remove PERFECT_MEM Unallocate opaque. Bruce Momjian 1996-11-15 18:37:10 +00:00
  • f8e02c192a Unallocate opaque. Bruce Momjian 1996-11-15 18:36:31 +00:00
  • a180738ddd Changed " to '. Removed bug section from psql. added reminder for log call in built-in. fixed backslases in source for libpq. Bruce Momjian 1996-11-15 17:55:31 +00:00
  • 54c9905d6e Mulitple inclusion of sys/socket.h Marc G. Fournier 1996-11-15 09:54:28 +00:00
  • 8abc490181 Features added: Marc G. Fournier 1996-11-14 21:39:14 +00:00
  • eedc75bfe1 Bring in Randy's NOROOT patch Marc G. Fournier 1996-11-14 20:49:09 +00:00
  • 2081153e69 Fix a comment...was going to fix the <sys/types.h> problem, but Randy is submitting a more comprehensive patch :) Marc G. Fournier 1996-11-14 20:27:06 +00:00
  • d84057db71 Couple of Ultrix4 related patches submited by: Erik Bertelsen <erik@sockdev.uni-c.dk> Marc G. Fournier 1996-11-14 20:08:58 +00:00
  • fb3b9d7661 Fix a comment that wasn't commente'd out Marc G. Fournier 1996-11-14 20:06:39 +00:00
  • fdcf5ff79c Remove comments psql was putting in output, typo's. psql now returns error from queries and errors files, so ignore return code. Bruce Momjian 1996-11-14 16:09:28 +00:00
  • 0365c51e30 Overhaul MainLoop input processing for quotes, comments, backslashes. Bruce Momjian 1996-11-14 16:08:05 +00:00
  • f64b840387 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. Bryan Henderson 1996-11-14 10:25:54 +00:00
  • 7ac541daf1 moved man pages here, as requested by Bryan Marc G. Fournier 1996-11-14 10:18:14 +00:00
  • 389fe48cbb Removed man pages...moved to src/man Marc G. Fournier 1996-11-14 10:15:16 +00:00
  • 65a10b1be6 Missed this part when I eliminated $(srcdir); src/bin stuff won't compile. Bryan Henderson 1996-11-14 09:24:39 +00:00
  • 6b135c9391 Use port-protos.h instead of trying to declare random() and srandom() explicitly. Bryan Henderson 1996-11-14 08:23:31 +00:00
  • 902d2b8bac Use -Wno-error option only if compiler is gcc. Bryan Henderson 1996-11-14 07:33:34 +00:00
  • b4d689070e Use -W options only if compiler is gcc. Bryan Henderson 1996-11-14 07:19:26 +00:00
  • 200d4a4ec3 Include stdlib.h to gives its NULL, etc. definitions precedence over ours. Bryan Henderson 1996-11-14 06:06:39 +00:00
  • 25b4ca4284 Added percentage to CASSERT comment. Bruce Momjian 1996-11-14 00:26:23 +00:00
  • 07a65b2255 Commit of a *MAJOR* patch from Dan McGuirk <djm@indirect.com> Marc G. Fournier 1996-11-13 20:56:15 +00:00