Prevent intermittent hang in recovery from bgwriter interaction.
Simon Riggs <simon@2ndQuadrant.com>
Prevent intermittent hang in recovery from bgwriter interaction. Startup process waited for cleanup lock but when hot_standby = off the pid was not registered, so that the bgwriter would not wake the waiting process as intended.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xlog.c | modified | +2 −0 |
| src/backend/storage/ipc/standby.c | modified | +0 −5 |