postgresql/src/backend/utils/time
Alvaro Herrera 1ce150b7bb Don't TransactionIdDidAbort in HeapTupleGetUpdateXid
It is dangerous to do so, because some code expects to be able to see what's
the true Xmax even if it is aborted (particularly while traversing HOT
chains).  So don't do it, and instead rely on the callers to verify for
abortedness, if necessary.

Several race conditions and bugs fixed in the process.  One isolation test
changes the expected output due to these.

This also reverts commit c235a6a589, which is no longer necessary.

Backpatch to 9.3, where this function was introduced.

Andres Freund
2013-11-29 21:47:21 -03:00
..
combocid.c Improve concurrency of foreign key locking 2013-01-23 12:04:59 -03:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
snapmgr.c Use an MVCC snapshot, rather than SnapshotNow, for catalog scans. 2013-07-02 09:47:01 -04:00
tqual.c Don't TransactionIdDidAbort in HeapTupleGetUpdateXid 2013-11-29 21:47:21 -03:00