Add comment to postmaster.c that get_progname() will call exit if it

can't strdup().
This commit is contained in:
Bruce Momjian 2004-11-02 03:34:50 +00:00
parent b0830e39c3
commit 0c3663b47d
1 changed files with 3 additions and 2 deletions

View File

@ -37,7 +37,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.435 2004/10/21 19:28:35 tgl Exp $ * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.436 2004/11/02 03:34:50 momjian Exp $
* *
* NOTES * NOTES
* *
@ -313,7 +313,8 @@ PostmasterMain(int argc, char *argv[])
char *userDoption = NULL; char *userDoption = NULL;
int i; int i;
progname = get_progname(argv[0]); /* This will call exit() if strdup() fails. */
progname = get_progname(argv[0]);
MyProcPid = PostmasterPid = getpid(); MyProcPid = PostmasterPid = getpid();