Adjust time qual checking code so that we always check TransactionIdIsInProgress

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

Commit: 4beb9cd5ebede4ae390c705f24f24be5fe3c9edc
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-05-07T21:23:24Z
Releases: 7.3.10
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 +81 −56