diff options
| author | Simon Riggs | 2011-03-23 13:30:05 +0000 |
|---|---|---|
| committer | Simon Riggs | 2011-03-23 13:30:05 +0000 |
| commit | b98ac467f5d35970edade4ad65c767fc89059026 (patch) | |
| tree | f6498bca9ed9f68efde667dd7765baf7e4ea65b9 /src/backend/storage/ipc/standby.c | |
| parent | 856a23018c976794655d6f53b72fb692178fbb27 (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.c | 5 |
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 |
