aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-05-10 18:15:42 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-05-10 18:15:42 +0000
commitecc8c3652e80e7f444e7abb71206b7381cd1b606 (patch)
tree3bfc513648c3e985fc8cbf72cb7f3e886ce04d9b /src
parent8d86a96068cfa129aaf10691cd992fffe99a43b0 (diff)
downloadpostgresql-ecc8c3652e80e7f444e7abb71206b7381cd1b606.tar.gz
postgresql-ecc8c3652e80e7f444e7abb71206b7381cd1b606.zip
In child-crashed log messages, identify a checkpoint process as such
instead of calling it a 'server process'.
Diffstat (limited to 'src')
-rw-r--r--src/backend/postmaster/postmaster.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c
index a7d0effb803..f52e2879f8d 100644
--- a/src/backend/postmaster/postmaster.c
+++ b/src/backend/postmaster/postmaster.c
@@ -37,7 +37,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.326 2003/05/09 15:57:24 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.327 2003/05/10 18:15:42 tgl Exp $
*
* NOTES
*
@@ -1801,8 +1801,12 @@ reaper(SIGNAL_ARGS)
goto reaper_done;
}
+ /*
+ * Else do standard child cleanup.
+ */
CleanupProc(pid, exitstatus);
- }
+
+ } /* loop over pending child-death reports */
if (FatalError)
{
@@ -1895,7 +1899,10 @@ CleanupProc(int pid,
/* Make log entry unless we did so already */
if (!FatalError)
{
- LogChildExit(LOG, gettext("server process"), pid, exitstatus);
+ LogChildExit(LOG,
+ (pid == CheckPointPID) ? gettext("checkpoint process") :
+ gettext("server process"),
+ pid, exitstatus);
elog(LOG, "terminating any other active server processes");
}