316e81cf22
Fix for BSDI compile.
1996-11-29 04:49:46 +00:00
ba876c150a
Changed saved_relname size to save memory.
1996-11-28 05:46:08 +00:00
c7cba5780f
Fix for "might be used uninitialized" warnings.
1996-11-28 04:37:38 +00:00
f0e7004d29
Make strdup work for Ultrix. Thanks Erik Bertelsen
1996-11-28 03:32:18 +00:00
0667fd9491
TransactionIdIsInProgress is commented out
1996-11-27 15:15:54 +00:00
6450bef6ec
Convert ' to " in dates. Update example code to show empty query as "".
1996-11-27 13:49:46 +00:00
c9ec45062a
Remove unused define's.
1996-11-27 13:48:58 +00:00
134c35c761
no change
1996-11-27 13:48:23 +00:00
79b1a0ff35
Allow all empty queries to return EMPTY.
1996-11-27 13:47:05 +00:00
9c0afeabb7
More stuff to make it compile on various ports.
1996-11-27 08:16:44 +00:00
a38365e0eb
New structures for new vacuum.
1996-11-27 07:35:06 +00:00
948720ee94
New mdtruncate() & smgrtruncate() funcs.
1996-11-27 07:33:42 +00:00
b41aa3903c
TransactionIdIsInProgress moved to shmem.c
1996-11-27 07:32:10 +00:00
f0c5a6c614
Shrinking and other things.
1996-11-27 07:27:20 +00:00
3385497228
New smgrtruncate smgr' interface func.
1996-11-27 07:25:52 +00:00
a2a33e1344
New mdtruncate() func for single segment relations (< 2Gb).
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.
1996-11-27 07:20:07 +00:00
47312ec134
Setting MyProc->xid to InvalidTransactionId while creating
...
PROC structure (it's for new TransactionIdIsInProgress func).
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).
1996-11-27 07:14:51 +00:00
1db76d708c
TransactionIdIsInProgress moved to shmem.c
1996-11-27 07:10:59 +00:00
89c7e18b3f
Forgot in yesterday's Ultrix compile work.
1996-11-27 01:46:52 +00:00
8cfe27dff0
OK, I think I've got the postconfig thing right now.
1996-11-26 08:12:39 +00:00
93f722536f
Whoops, redo Ultrix patch so the other ports still compile.
1996-11-26 07:39:11 +00:00
c118543186
Fix double-colon syntax error on fe-lobj.o.
1996-11-26 06:33:18 +00:00
46d58fba33
Make it compile on Ultrix. Thanks Erik Bertelson.
1996-11-26 03:20:35 +00:00
02c0eb6549
Properly structure ProcedureNameIndexScan so it doesn't generate
...
"may be used before being set" warnings.
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.
1996-11-26 01:17:56 +00:00
f93f780269
-Werror fixes from D'Arcy.
1996-11-26 01:14:38 +00:00
46c4e6f626
Include fcntl.h, which is not automatically included by sys/file.h on all systems.
1996-11-25 06:33:51 +00:00
1d84088f50
Go back to $(postconfig...) from $(exec postconfig...) so it works on non-bash.
1996-11-25 05:51:50 +00:00
6c2925b884
Prevent empty queries from crashing server.
1996-11-25 03:03:48 +00:00
02db1f58cb
Fix access through null pointer info->rule_action. Thanks Darren King.
1996-11-24 05:58:57 +00:00
9602150a04
Fix syntax error: missing argument to elog(). Thanks Darren King.
1996-11-24 05:46:12 +00:00
092c7a6be5
Typecasts, etc. to make compile work on AIX. Thanks Darren King..
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.
1996-11-24 04:07:17 +00:00
7e499bd112
Add dep: rule.
1996-11-24 03:55:19 +00:00
5c410fa0b9
First pass at getting shared libraries on AIX properly built.
1996-11-23 09:51:57 +00:00
45f1d32bf1
Eliminate pesky "postconfig not found" message.
1996-11-23 09:42:51 +00:00
eda3771290
Fix for \g strdup error.
1996-11-22 06:45:14 +00:00
25fe3c7098
Include ctype.h to fix Kurt Lidl's compile problem.
1996-11-22 04:43:48 +00:00
4da9c597af
Include stdio.h to fix Craig Anderson's compile problem.
1996-11-22 04:39:53 +00:00
86ab9a5118
Fix bug: No -D option to postgres
1996-11-22 04:33:34 +00:00
e67cc8a346
Fix bug: -D options implies -d option.
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.
1996-11-21 06:13:43 +00:00
5d7e44fc8e
Fix memory overhelding while forming index' result:
...
memory allocation for ItemPointerData of heap' tuple is useless
because of FormRetrieveIndexResult makes neccessary palloc.
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.
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
1996-11-20 22:58:22 +00:00
cd743f8388
Otherwise "gmake install" fails.
...
D'Arcy J.M. Cain | Democracy is three wolves
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
1996-11-20 22:53:10 +00:00
8299e75577
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 )
1996-11-20 22:35:19 +00:00