Change tqual.c tests to use !TransactionIdIsCurrentTransactionId, rather than

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

Commit: 386a5d4268c7ae13510f0a40243b2277eccb6189
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-09-21T18:24:28Z
Releases: 8.3.0
Change tqual.c tests to use !TransactionIdIsCurrentTransactionId, rather than
TransactionIdDidAbort, when handling the case that xmin is one of the current
transaction's XIDs and the tuple has been deleted.  xmax must also be one of
the current transaction's XIDs, since no one else can see it yet, and it's
cheaper to look at local state than shared state to find out if xmax aborted.
Per an idea of Heikki's.

Files

PathChange+/−
src/backend/utils/time/tqual.c modified +11 −22