Rework wait for AccessExclusiveLocks on Hot Standby
Simon Riggs <simon@2ndQuadrant.com>
Rework wait for AccessExclusiveLocks on Hot Standby Earlier version committed in 9.0 caused spurious waits in some cases. New infrastructure for lock waits in 9.3 used to correct and improve this. Jeff Janes based upon a proposal by Simon Riggs, who also reviewed Additional review comments from Amit Kapila
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/postmaster/startup.c | modified | +1 −0 |
| src/backend/storage/ipc/standby.c | modified | +61 −33 |
| src/backend/storage/lmgr/proc.c | modified | +46 −28 |
| src/include/storage/standby.h | modified | +3 −0 |
| src/include/utils/timeout.h | modified | +1 −0 |