Skip to content

Commit 45e0736

Browse files
committed
Use errhint() for WIN32 SIGTERM message, where possible.
1 parent d26a5f1 commit 45e0736

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/backend/postmaster/postmaster.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*
3838
*
3939
* IDENTIFICATION
40-
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.509 2007/01/22 18:31:51 momjian Exp $
40+
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.510 2007/01/22 19:38:05 momjian Exp $
4141
*
4242
* NOTES
4343
*
@@ -2435,8 +2435,9 @@ LogChildExit(int lev, const char *procname, int pid, int exitstatus)
24352435
/*------
24362436
translator: %s is a noun phrase describing a child process, such as
24372437
"server process" */
2438-
(errmsg("%s (PID %d) was terminated by exception %X\nSee http://source.winehq.org/source/include/ntstatus.h for a description\nof the hex value.",
2439-
procname, pid, WTERMSIG(exitstatus))));
2438+
(errmsg("%s (PID %d) was terminated by exception %X",
2439+
procname, pid, WTERMSIG(exitstatus)),
2440+
errhint("See http://source.winehq.org/source/include/ntstatus.h for a description of the hex value.")));
24402441
#endif
24412442
else
24422443
ereport(lev,

0 commit comments

Comments
 (0)