From 5717f3a3e6fbdc643202aa786d6c92ad7de65e5e Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Thu, 19 Feb 2009 16:43:13 +0000 Subject: [PATCH] Fix bogus comment, from the patch to start bgwriter during archive recovery. --- src/backend/postmaster/postmaster.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index 49ee57c77e..97eedac506 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -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; /* -- GitLab