mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +03:00
Add stray "else" that seems to have gone missing.
This commit is contained in:
@ -37,7 +37,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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
|
* NOTES
|
||||||
*
|
*
|
||||||
@ -2224,11 +2224,11 @@ pmdie(SIGNAL_ARGS)
|
|||||||
/* only bgwriter is active in this state */
|
/* only bgwriter is active in this state */
|
||||||
pmState = PM_WAIT_BACKENDS;
|
pmState = PM_WAIT_BACKENDS;
|
||||||
}
|
}
|
||||||
if (pmState == PM_RUN ||
|
else if (pmState == PM_RUN ||
|
||||||
pmState == PM_WAIT_BACKUP ||
|
pmState == PM_WAIT_BACKUP ||
|
||||||
pmState == PM_WAIT_READONLY ||
|
pmState == PM_WAIT_READONLY ||
|
||||||
pmState == PM_WAIT_BACKENDS ||
|
pmState == PM_WAIT_BACKENDS ||
|
||||||
pmState == PM_HOT_STANDBY)
|
pmState == PM_HOT_STANDBY)
|
||||||
{
|
{
|
||||||
ereport(LOG,
|
ereport(LOG,
|
||||||
(errmsg("aborting any active transactions")));
|
(errmsg("aborting any active transactions")));
|
||||||
|
Reference in New Issue
Block a user