Back-patch Heikki's fix to make TransactionIdIsCurrentTransactionId() use

Tom Lane <tgl@sss.pgh.pa.us>

Commit: f7288cde493adbe3341206a6b266c37f032ae2b6
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-04-26T23:35:33Z
Releases: 8.3.2
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.

Files

PathChange+/−
src/backend/access/transam/twophase.c modified +1 −2
src/backend/access/transam/xact.c modified +126 −58