Detect early deadlock in Hot Standby when Startup is already waiting. First

Simon Riggs <simon@2ndQuadrant.com>

Commit: c85c941470efc44494fd7a5f426ee85fc65c268c
Author: Simon Riggs <simon@2ndQuadrant.com>
Date: 2010-01-31T19:01:11Z
Releases: 9.0.0
Detect early deadlock in Hot Standby when Startup is already waiting. First
stage of required deadlock detection to allow re-enabling max_standby_delay
setting of -1, which is now essential in the absence of improved relation-
specific conflict resoluton. Requested by Greg Stark et al.

Files

PathChange+/−
src/backend/storage/ipc/standby.c modified +36 −2
src/backend/storage/lmgr/lock.c modified +8 −1
src/include/storage/standby.h modified +2 −1