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

Commit4040fcf

Browse files
committed
Small cleanup.
1 parent4793740 commit4040fcf

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/0621:58:03 vadim Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.122 1999/10/0622: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
caseSIGQUIT:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp