Adjust time qual checking code so that we always check TransactionIdIsInProgress
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/time/tqual.c | modified | +83 −76 |