mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Add comment to postmaster.c that get_progname() will call exit if it
can't strdup().
This commit is contained in:
parent
b0830e39c3
commit
0c3663b47d
@ -37,7 +37,7 @@
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
@ -313,7 +313,8 @@ PostmasterMain(int argc, char *argv[])
|
||||
char *userDoption = NULL;
|
||||
int i;
|
||||
|
||||
progname = get_progname(argv[0]);
|
||||
/* This will call exit() if strdup() fails. */
|
||||
progname = get_progname(argv[0]);
|
||||
|
||||
MyProcPid = PostmasterPid = getpid();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user