summaryrefslogtreecommitdiff
path: root/src/backend/storage/ipc/standby.c
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2011-03-23 13:32:37 +0000
committerSimon Riggs <simon@2ndQuadrant.com>2011-03-23 13:32:37 +0000
commit9bb1ddec4cd998c5fbac278a54d8ad5a5011e4e1 (patch)
tree6f231906cdfd8f8d92023d30f91e346b58367b02 /src/backend/storage/ipc/standby.c
parent3cb2f2ae4cc481dc22682d364e7a93ba6f7f4baf (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 8ddfa60b388..ce02fe76049 100644
--- a/src/backend/storage/ipc/standby.c
+++ b/src/backend/storage/ipc/standby.c
@@ -70,11 +70,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