Change tqual.c tests to use !TransactionIdIsCurrentTransactionId, rather than
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 Sep 2007 18:24:28 +0000 (18:24 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 Sep 2007 18:24:28 +0000 (18:24 +0000)
commita356768564f3fb30594624269de05f3dfff1cde3
tree35d4e5e6866493c5ec685d52101cca40affa9740
parent3e55d0e2b121259e9dc2ffcfd49f3e1e8000202b
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.
src/backend/utils/time/tqual.c