Back-patch Heikki's fix to make TransactionIdIsCurrentTransactionId() use
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 26 Apr 2008 23:35:33 +0000 (23:35 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 26 Apr 2008 23:35:33 +0000 (23:35 +0000)
commitf7288cde493adbe3341206a6b266c37f032ae2b6
tree94dd4d873970ba0d919a7a67f07eb1b0ccf760aa
parent701e71cf098db8e1969b2f3a04cf528b949f87d2
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.
src/backend/access/transam/twophase.c
src/backend/access/transam/xact.c