mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
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.
This commit is contained in:
@ -68,11 +68,6 @@ InitRecoveryTransactionEnvironment(void)
|
||||
*/
|
||||
SharedInvalBackendInit(true);
|
||||
|
||||
/*
|
||||
* Record the PID and PGPROC structure of the startup process.
|
||||
*/
|
||||
PublishStartupProcessInformation();
|
||||
|
||||
/*
|
||||
* Lock a virtual transaction id for Startup process.
|
||||
*
|
||||
|
Reference in New Issue
Block a user