Replace the KnownAssignedXids hash table with a sorted-array data structure,

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

Commit: 2871b4618af1acc85665eec0912c48f8341504c4
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-04-28T00:09:05Z
Releases: 9.0.0
Replace the KnownAssignedXids hash table with a sorted-array data structure,
and be more tense about the locking requirements for it, to improve performance
in Hot Standby mode.  In passing fix a few bugs and improve a number of
comments in the existing HS code.

Simon Riggs, with some editorialization by Tom

Files

PathChange+/−
src/backend/access/transam/twophase.c modified +4 −1
src/backend/storage/ipc/procarray.c modified +757 −320