projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0830e3
)
Add comment to postmaster.c that get_progname() will call exit if it
author
Bruce Momjian
<bruce@momjian.us>
Tue, 2 Nov 2004 03:34:50 +0000
(
03:34
+0000)
committer
Bruce Momjian
<bruce@momjian.us>
Tue, 2 Nov 2004 03:34:50 +0000
(
03:34
+0000)
can't strdup().
src/backend/postmaster/postmaster.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/postmaster/postmaster.c
b/src/backend/postmaster/postmaster.c
index a70ff10860a8cedd8b9b71aa147a21c2c5f52744..a1723e228657315be2ea5170f7544d00bbe9bbf2 100644
(file)
--- a/
src/backend/postmaster/postmaster.c
+++ b/
src/backend/postmaster/postmaster.c
@@
-37,7
+37,7
@@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.43
5 2004/10/21 19:28:35 tgl
Exp $
+ * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.43
6 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();