]> granicus.if.org Git - postgresql/commitdiff
Fix bogus comment, from the patch to start bgwriter during archive
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 19 Feb 2009 16:43:13 +0000 (16:43 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 19 Feb 2009 16:43:13 +0000 (16:43 +0000)
recovery.

src/backend/postmaster/postmaster.c

index 49ee57c77e2e71bec15d6ed01a3095c4de91af8f..97eedac506a0c9ff1ff039f49385021d060eeb68 100644 (file)
@@ -37,7 +37,7 @@
  *
  *
  * 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
  *
@@ -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;
 
                        /*