summaryrefslogtreecommitdiff
path: root/src/backend/storage/ipc/standby.c
diff options
context:
space:
mode:
authorSimon Riggs2011-03-23 13:30:05 +0000
committerSimon Riggs2011-03-23 13:30:05 +0000
commitb98ac467f5d35970edade4ad65c767fc89059026 (patch)
treef6498bca9ed9f68efde667dd7765baf7e4ea65b9 /src/backend/storage/ipc/standby.c
parent856a23018c976794655d6f53b72fb692178fbb27 (diff)
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.
Diffstat (limited to 'src/backend/storage/ipc/standby.c')
-rw-r--r--src/backend/storage/ipc/standby.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/backend/storage/ipc/standby.c b/src/backend/storage/ipc/standby.c
index a92ae4af590..2e71484126d 100644
--- a/src/backend/storage/ipc/standby.c
+++ b/src/backend/storage/ipc/standby.c
@@ -69,11 +69,6 @@ InitRecoveryTransactionEnvironment(void)
SharedInvalBackendInit(true);
/*
- * Record the PID and PGPROC structure of the startup process.
- */
- PublishStartupProcessInformation();
-
- /*
* Lock a virtual transaction id for Startup process.
*
* We need to do GetNextLocalTransactionId() because