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

Commitb0830e3

Browse files
committed
Add comment about memory failure of get_progname exiting the postmaster:
exit(1); /* This could exit the postmaster */
1 parentc4acbb8 commitb0830e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/port/path.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/port/path.c,v 1.40 2004/11/01 04:46:56 momjian Exp $
11+
* $PostgreSQL: pgsql/src/port/path.c,v 1.41 2004/11/02 03:09:06 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -204,7 +204,7 @@ get_progname(const char *argv0)
204204
if (progname==NULL)
205205
{
206206
fprintf(stderr,"%s: out of memory\n",nodir_name);
207-
exit(1);
207+
exit(1);/* This could exit the postmaster */
208208
}
209209
progname[strlen(progname)-sizeof(EXE)-1]='\0';
210210
nodir_name=progname;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp