pgsql: Back-patch Heikki's fix to make

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Back-patch Heikki's fix to make
Date: 2008-04-26 23:35:33
Message-ID: 20080426233533.D73557559CC@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Back-patch Heikki's fix to make TransactionIdIsCurrentTransactionId() use
binary search instead of linear search when checking child-transaction XIDs.
Per example from Robert Treat, the speed of TransactionIdIsCurrentTransactionId
is significantly more important in 8.3 than it was in prior releases, so
this seems worth taking back-patching risk for.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
pgsql/src/backend/access/transam:
twophase.c (r1.39 -> r1.39.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/twophase.c?r1=1.39&r2=1.39.2.1)
xact.c (r1.257.2.1 -> r1.257.2.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xact.c?r1=1.257.2.1&r2=1.257.2.2)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2008-04-27 04:33:28 pgsql: Add SGML ID attributes to the arrays subsections, and a few index
Previous Message Tom Lane 2008-04-26 23:20:29 Re: Re: [HACKERS] [COMMITTERS] pgsql: Fix TransactionIdIsCurrentTransactionId() to use binary search