Adjust time qual checking code so that we always check TransactionIdIsInProgress

Tom Lane <tgl@sss.pgh.pa.us>

Commit: b72e5fa17b7aef18c744060ede3b1afdf4021dbf
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-05-07T21:22:01Z
Releases: 8.1.0
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.

Files

PathChange+/−
src/backend/utils/time/tqual.c modified +93 −80