Thread: pgsql: Rework wait for AccessExclusiveLocks on Hot Standby

pgsql: Rework wait for AccessExclusiveLocks on Hot Standby

From
Simon Riggs
Date:
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/37c54863cf71a4a1126d21db8eb68974bef34374

Modified Files
--------------
src/backend/postmaster/startup.c  |  1 +
src/backend/storage/ipc/standby.c | 94 +++++++++++++++++++++++++--------------
src/backend/storage/lmgr/proc.c   | 74 ++++++++++++++++++------------
src/include/storage/standby.h     |  3 ++
src/include/utils/timeout.h       |  1 +
5 files changed, 112 insertions(+), 61 deletions(-)