Adjust time qual checking code so that we always check TransactionIdIsInProgress
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 7 May 2005 21:23:49 +0000 (21:23 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 7 May 2005 21:23:49 +0000 (21:23 +0000)
commitbeb0cfdd337ed55cc979753348bb951dc212b239
tree81bf75b79c0fc5e9ff015e63f88a0322c4312c28
parent64ac25c026800840b88c014374899b04e8a44e43
Adjust time qual checking code so that we always check TransactionIdIsInProgress
before we check commit/abort status.  Formerly this was done in some paths
but not all, with the result that a transaction might be considered
committed for some purposes before it became committed for others.
Per example found by Jan Wieck.
src/backend/utils/time/tqual.c