Fix bogus comment, from the patch to start bgwriter during archive
authorHeikki Linnakangas <[email protected]>
Thu, 19 Feb 2009 16:43:13 +0000 (16:43 +0000)
committerHeikki Linnakangas <[email protected]>
Thu, 19 Feb 2009 16:43:13 +0000 (16:43 +0000)
recovery.

src/backend/postmaster/postmaster.c

index 70d9ca246c4fee02b577782ffa57bf56ec232720..90b2ad737177a609dffe4a00cdbb04663bf373a3 100644 (file)
@@ -2652,7 +2652,8 @@ PostmasterStateMachine(void)
        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)
                {
@@ -2661,10 +2662,6 @@ PostmasterStateMachine(void)
                }
                else
                {
-                       /*
-                        * Startup process has entered recovery. We consider that good
-                        * enough to reset FatalError.
-                        */
                        pmState = PM_RECOVERY_CONSISTENT;
 
                        /*