TransactionIdIsInProgress can skip scanning the ProcArray if the target XID is

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

Commit: 1b3d400cac138c12dd3d1428a9da112b69ad0f15
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-09-23T18:50:38Z
Releases: 8.3.0
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.

Files

PathChange+/−
src/backend/storage/ipc/procarray.c modified +29 −5