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

Commit6859099

Browse files
committed
Improve error message when startup or shutdown proc fails.
1 parentf6abf4e commit6859099

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎src/backend/postmaster/postmaster.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.206 2001/02/10 02:31:26 tgl Exp $
14+
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.207 2001/02/11 23:12:28 tgl Exp $
1515
*
1616
* NOTES
1717
*
@@ -1557,7 +1557,8 @@ reaper(SIGNAL_ARGS)
15571557
abort();
15581558
if (exitstatus!=0)
15591559
{
1560-
fprintf(stderr,"Shutdown failed - abort\n");
1560+
fprintf(stderr,"%s: Shutdown proc %d exited with status %d\n",
1561+
progname,pid,exitstatus);
15611562
fflush(stderr);
15621563
ExitPostmaster(1);
15631564
}
@@ -1569,7 +1570,8 @@ reaper(SIGNAL_ARGS)
15691570
abort();
15701571
if (exitstatus!=0)
15711572
{
1572-
fprintf(stderr,"Startup failed - abort\n");
1573+
fprintf(stderr,"%s: Startup proc %d exited with status %d - abort\n",
1574+
progname,pid,exitstatus);
15731575
fflush(stderr);
15741576
ExitPostmaster(1);
15751577
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp