Replace the KnownAssignedXids hash table with a sorted-array data structure,
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/twophase.c | modified | +4 −1 |
| src/backend/storage/ipc/procarray.c | modified | +757 −320 |