pgsql: Change tqual.c tests to use !TransactionIdIsCurrentTransactionId, - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Change tqual.c tests to use !TransactionIdIsCurrentTransactionId,
Date
Msg-id 20070921182428.6B7FB753E4C@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Make some simple performance improvements in
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Improve handling of prune/no-prune decisions by storing a page's