pgsql: Prevent intermittent hang in recovery from bgwriter interaction.
pgsql: 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. Branch ------ REL9_0_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/9bb1ddec4cd998c5fbac278a54d8ad5a5011e4e1 Modified Files -------------- src/backend/access/transam/xlog.c | 2 ++ src/backend/storage/ipc/standby.c | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-)