mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Fix bogus comment, from the patch to start bgwriter during archive
recovery.
This commit is contained in:
parent
80e26caa02
commit
5717f3a3e6
@ -37,7 +37,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.571 2009/02/18 15:58:41 heikki Exp $
|
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.572 2009/02/19 16:43:13 heikki Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
*
|
*
|
||||||
@ -2652,7 +2652,8 @@ PostmasterStateMachine(void)
|
|||||||
if (pmState == PM_RECOVERY && RecoveryStatus >= RecoveryConsistent)
|
if (pmState == PM_RECOVERY && RecoveryStatus >= RecoveryConsistent)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Go to shutdown mode if a shutdown request was pending.
|
* Recovery has reached a consistent recovery point. Go to shutdown
|
||||||
|
* mode if a shutdown request was pending.
|
||||||
*/
|
*/
|
||||||
if (Shutdown > NoShutdown)
|
if (Shutdown > NoShutdown)
|
||||||
{
|
{
|
||||||
@ -2661,10 +2662,6 @@ PostmasterStateMachine(void)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
* Startup process has entered recovery. We consider that good
|
|
||||||
* enough to reset FatalError.
|
|
||||||
*/
|
|
||||||
pmState = PM_RECOVERY_CONSISTENT;
|
pmState = PM_RECOVERY_CONSISTENT;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user