pgsql: Adjust time qual checking code so that we always check

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Adjust time qual checking code so that we always check
Date: 2005-05-07 21:23:50
Message-ID: 20050507212350.66FCD537BA@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Tags:
----
REL7_2_STABLE

Modified Files:
--------------
pgsql/src/backend/utils/time:
tqual.c (r1.49 -> r1.49.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/time/tqual.c.diff?r1=1.49&r2=1.49.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-05-07 21:32:24 pgsql: Repair very-low-probability race condition between relation
Previous Message Tom Lane 2005-05-07 21:23:24 pgsql: Adjust time qual checking code so that we always check