Thread: pgsql: Change tqual.c tests to use !TransactionIdIsCurrentTransactionId,

pgsql: Change tqual.c tests to use !TransactionIdIsCurrentTransactionId,

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/utils/time:
        tqual.c (r1.105 -> r1.106)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/time/tqual.c?r1=1.105&r2=1.106)