TransactionIdIsInProgress can skip scanning the ProcArray if the target XID is
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 23 Sep 2007 18:50:38 +0000 (18:50 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 23 Sep 2007 18:50:38 +0000 (18:50 +0000)
commit1b3d400cac138c12dd3d1428a9da112b69ad0f15
treeaa2cee887bbe5798c252c62e3454aea95ba8bca5
parentd16f270e5915ee091feb35ede89db40d2fd9c10f
TransactionIdIsInProgress can skip scanning the ProcArray if the target XID is
later than latestCompletedXid, per Florian Pflug.  Also some minor
improvements in the XIDCACHE_DEBUG code --- make sure each call of
TransactionIdIsInProgress is counted one way or another.
src/backend/storage/ipc/procarray.c