OSDN Git Service

Replace the KnownAssignedXids hash table with a sorted-array data structure,
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 Apr 2010 00:09:05 +0000 (00:09 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 Apr 2010 00:09:05 +0000 (00:09 +0000)
commit2871b4618af1acc85665eec0912c48f8341504c4
treec8ff6ec3c15ae9bdfa6d2958b46b3b9533a3aec3
parent871e73bb276506ca591083f0b343951ba0db6989
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
src/backend/access/transam/twophase.c
src/backend/storage/ipc/procarray.c