aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2010-06-24 16:40:45 +0000
committerRobert Haas <rhaas@postgresql.org>2010-06-24 16:40:45 +0000
commit243bbe6ed85d97ed32afeb3a09c6064159af2cde (patch)
treec1284933ea3364ff1743671ea6c4e09893a7b131 /src
parentf5dc03dc69d70372d4c6d8fe731b570e926085c3 (diff)
downloadpostgresql-243bbe6ed85d97ed32afeb3a09c6064159af2cde.tar.gz
postgresql-243bbe6ed85d97ed32afeb3a09c6064159af2cde.zip
Add stray "else" that seems to have gone missing.
Diffstat (limited to 'src')
-rw-r--r--src/backend/postmaster/postmaster.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c
index eba940cf428..0764c32b9b2 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.612 2010/06/16 00:54:16 petere Exp $
+ * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.613 2010/06/24 16:40:45 rhaas Exp $
*
* NOTES
*
@@ -2224,11 +2224,11 @@ pmdie(SIGNAL_ARGS)
/* only bgwriter is active in this state */
pmState = PM_WAIT_BACKENDS;
}
- if (pmState == PM_RUN ||
- pmState == PM_WAIT_BACKUP ||
- pmState == PM_WAIT_READONLY ||
- pmState == PM_WAIT_BACKENDS ||
- pmState == PM_HOT_STANDBY)
+ else if (pmState == PM_RUN ||
+ pmState == PM_WAIT_BACKUP ||
+ pmState == PM_WAIT_READONLY ||
+ pmState == PM_WAIT_BACKENDS ||
+ pmState == PM_HOT_STANDBY)
{
ereport(LOG,
(errmsg("aborting any active transactions")));