]> granicus.if.org Git - postgresql/commit
Rework wait for AccessExclusiveLocks on Hot Standby
authorSimon Riggs <simon@2ndQuadrant.com>
Thu, 10 Mar 2016 19:26:24 +0000 (19:26 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Thu, 10 Mar 2016 19:26:24 +0000 (19:26 +0000)
commit37c54863cf71a4a1126d21db8eb68974bef34374
treead1213376b9b14f5479d14efaeec857b732f8b2f
parent53be0b1add7064ca5db3cd884302dfc3268d884e
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
src/backend/postmaster/startup.c
src/backend/storage/ipc/standby.c
src/backend/storage/lmgr/proc.c
src/include/storage/standby.h
src/include/utils/timeout.h