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

Commitecc8c36

Browse files
committed
In child-crashed log messages, identify a checkpoint process as such
instead of calling it a 'server process'.
1 parent8d86a96 commitecc8c36

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

‎src/backend/postmaster/postmaster.c

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*
3838
*
3939
* IDENTIFICATION
40-
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.326 2003/05/0915:57:24 momjian Exp $
40+
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.327 2003/05/10 18:15:42 tgl Exp $
4141
*
4242
* NOTES
4343
*
@@ -1801,8 +1801,12 @@ reaper(SIGNAL_ARGS)
18011801
gotoreaper_done;
18021802
}
18031803

1804+
/*
1805+
* Else do standard child cleanup.
1806+
*/
18041807
CleanupProc(pid,exitstatus);
1805-
}
1808+
1809+
}/* loop over pending child-death reports */
18061810

18071811
if (FatalError)
18081812
{
@@ -1895,7 +1899,10 @@ CleanupProc(int pid,
18951899
/* Make log entry unless we did so already */
18961900
if (!FatalError)
18971901
{
1898-
LogChildExit(LOG,gettext("server process"),pid,exitstatus);
1902+
LogChildExit(LOG,
1903+
(pid==CheckPointPID) ?gettext("checkpoint process") :
1904+
gettext("server process"),
1905+
pid,exitstatus);
18991906
elog(LOG,"terminating any other active server processes");
19001907
}
19011908

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp