提交 5717f3a3 编写于 作者: H Heikki Linnakangas

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

recovery.
上级 80e26caa
...@@ -37,7 +37,7 @@ ...@@ -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) ...@@ -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) ...@@ -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;
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册