37
37
*
38
38
*
39
39
* IDENTIFICATION
40
- * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.514 2007/01/28 03:50:34 momjian Exp $
40
+ * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.515 2007/01/28 06:32:03 tgl Exp $
41
41
*
42
42
* NOTES
43
43
*
@@ -2427,18 +2427,19 @@ LogChildExit(int lev, const char *procname, int pid, int exitstatus)
2427
2427
/*------
2428
2428
translator: %s is a noun phrase describing a child process, such as
2429
2429
"server process" */
2430
- (errmsg ("%s (PID %d) was terminated by exception %X" ,
2430
+ (errmsg ("%s (PID %d) was terminated by exception 0x %X" ,
2431
2431
procname , pid , WTERMSIG (exitstatus )),
2432
2432
errhint ("See C include file \"ntstatus.h\" for a description of the hex value." )));
2433
- #elif defined(HAVE_DECL_SYS_SIGLIST )
2433
+ #elif defined(HAVE_DECL_SYS_SIGLIST ) && HAVE_DECL_SYS_SIGLIST
2434
2434
ereport (lev ,
2435
2435
2436
2436
/*------
2437
2437
translator: %s is a noun phrase describing a child process, such as
2438
2438
"server process" */
2439
- (errmsg ("%s (PID %d) was terminated by signal: %s (%d)" ,
2440
- procname , pid , WTERMSIG (exitstatus ) < NSIG ?
2441
- sys_siglist [WTERMSIG (exitstatus )] : "unknown signal" ,
2439
+ (errmsg ("%s (PID %d) was terminated by signal %s (%d)" ,
2440
+ procname , pid ,
2441
+ WTERMSIG (exitstatus ) < NSIG ?
2442
+ sys_siglist [WTERMSIG (exitstatus )] : "(unknown)" ,
2442
2443
WTERMSIG (exitstatus ))));
2443
2444
#else
2444
2445
ereport (lev ,
@@ -2455,7 +2456,7 @@ LogChildExit(int lev, const char *procname, int pid, int exitstatus)
2455
2456
/*------
2456
2457
translator: %s is a noun phrase describing a child process, such as
2457
2458
"server process" */
2458
- (errmsg ("%s (PID %d) exited with unexpected status %d" ,
2459
+ (errmsg ("%s (PID %d) exited with unrecognized status %d" ,
2459
2460
procname , pid , exitstatus )));
2460
2461
}
2461
2462
0 commit comments