Skip to content

Commit 4040fcf

Browse files
committed
Small cleanup.
1 parent 4793740 commit 4040fcf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/backend/postmaster/postmaster.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.121 1999/10/06 21:58:03 vadim Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.122 1999/10/06 22:44:25 vadim Exp $
1414
*
1515
* NOTES
1616
*
@@ -1232,12 +1232,16 @@ pmdie(SIGNAL_ARGS)
12321232
return;
12331233
if (DLGetHead(BackendList)) /* let reaper() handle this */
12341234
{
1235+
Shutdown = FastShutdown;
12351236
if (!FatalError)
12361237
SignalChildren(SIGTERM);
12371238
return;
12381239
}
12391240
if (Shutdown > NoShutdown)
1241+
{
1242+
Shutdown = FastShutdown;
12401243
return;
1244+
}
12411245
Shutdown = FastShutdown;
12421246
/*
12431247
* No children left. Shutdown data base system.
@@ -1247,7 +1251,7 @@ pmdie(SIGNAL_ARGS)
12471251
if (ShutdownPID > 0)
12481252
abort();
12491253

1250-
ShutdownPID = ShutdownDataBase(); /* flag for reaper() */
1254+
ShutdownPID = ShutdownDataBase();
12511255
return;
12521256

12531257
case SIGQUIT:

0 commit comments

Comments
 (0)