postgresql/src/backend
Heikki Linnakangas cd87b6f8a5 Fix an old bug in multixact and two-phase commit. Prepared transactions can
be part of multixacts, so allocate a slot for each prepared transaction in
the "oldest member" array in multixact.c. On PREPARE TRANSACTION, transfer
the oldest member value from the current backends slot to the prepared xact
slot. Also save and recover the value from the 2pc state file.

The symptom of the bug was that after a transaction prepared, a shared lock
still held by the prepared transaction was sometimes ignored by other
transactions.

Fix back to 8.1, where both 2PC and multixact were introduced.
2009-11-23 09:58:36 +00:00
..
access Fix an old bug in multixact and two-phase commit. Prepared transactions can 2009-11-23 09:58:36 +00:00
bootstrap
catalog Add a WHEN clause to CREATE TRIGGER, allowing a boolean expression to be 2009-11-20 20:38:12 +00:00
commands Add a WHEN clause to CREATE TRIGGER, allowing a boolean expression to be 2009-11-20 20:38:12 +00:00
executor Add a WHEN clause to CREATE TRIGGER, allowing a boolean expression to be 2009-11-20 20:38:12 +00:00
foreign
lib
libpq
main Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodes Add a WHEN clause to CREATE TRIGGER, allowing a boolean expression to be 2009-11-20 20:38:12 +00:00
optimizer Remove superfluous curly brace, fixing compilation with OPTIMIZER_DEBUG. 2009-11-22 14:54:31 +00:00
parser Add a WHEN clause to CREATE TRIGGER, allowing a boolean expression to be 2009-11-20 20:38:12 +00:00
po
port
postmaster Fix memory leak in syslogger: logfile_rotate() would leak a copy of the 2009-11-19 02:45:33 +00:00
regex
rewrite
snowball
storage
tcop Add a WHEN clause to CREATE TRIGGER, allowing a boolean expression to be 2009-11-20 20:38:12 +00:00
tsearch Make text search parser accept underscores in XML attributes (bug #5075) 2009-11-15 13:57:01 +00:00
utils Add a WHEN clause to CREATE TRIGGER, allowing a boolean expression to be 2009-11-20 20:38:12 +00:00
common.mk
Makefile
nls.mk