Adjust time qual checking code so that we always check TransactionIdIsInProgress

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

Commit: 2e6482493a2446a488550545e0d1dd6b1a79c70b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-05-07T21:23:49Z
Releases: 7.2.8
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 +83 −76