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 ------ master Details ------- http://git.postgresql.org/pg/commitdiff/b98ac467f5d35970edade4ad65c767fc89059026 Modified Files -------------- src/backend/access/transam/xlog.c | 2 ++ src/backend/storage/ipc/standby.c | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-)