Fix bogus comment, from the patch to start bgwriter during archive

recovery.
This commit is contained in:
Heikki Linnakangas 2009-02-19 16:43:13 +00:00
parent 80e26caa02
commit 5717f3a3e6

View File

@ -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;
/* /*