Detect early deadlock in Hot Standby when Startup is already waiting. First
Simon Riggs <simon@2ndQuadrant.com>
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
| Path | Change | +/− |
|---|---|---|
| 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 |