Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit243bbe6

Browse files
committed
Add stray "else" that seems to have gone missing.
1 parentf5dc03d commit243bbe6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎src/backend/postmaster/postmaster.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*
3838
*
3939
* IDENTIFICATION
40-
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.612 2010/06/16 00:54:16 petere Exp $
40+
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.613 2010/06/24 16:40:45 rhaas Exp $
4141
*
4242
* NOTES
4343
*
@@ -2224,11 +2224,11 @@ pmdie(SIGNAL_ARGS)
22242224
/* only bgwriter is active in this state */
22252225
pmState=PM_WAIT_BACKENDS;
22262226
}
2227-
if (pmState==PM_RUN||
2228-
pmState==PM_WAIT_BACKUP||
2229-
pmState==PM_WAIT_READONLY||
2230-
pmState==PM_WAIT_BACKENDS||
2231-
pmState==PM_HOT_STANDBY)
2227+
elseif (pmState==PM_RUN||
2228+
pmState==PM_WAIT_BACKUP||
2229+
pmState==PM_WAIT_READONLY||
2230+
pmState==PM_WAIT_BACKENDS||
2231+
pmState==PM_HOT_STANDBY)
22322232
{
22332233
ereport(LOG,
22342234
(errmsg("aborting any active transactions")));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp