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:
0d25f61
)
Recent patches to pg_ctl broke "pg_ctl restart" for the case where no
author
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 30 Sep 2008 13:14:07 +0000
(13:14 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 30 Sep 2008 13:14:07 +0000
(13:14 +0000)
command-line options had been given to the postmaster; and just plain
broke it altogether in 8.1 and 8.0. Per report from KaiGai Kohei.
src/bin/pg_ctl/pg_ctl.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_ctl/pg_ctl.c
b/src/bin/pg_ctl/pg_ctl.c
index 908900d63f362105b177f30b6e8eb42d58150af7..906ea48acdf009a77c954f3b65f8786aecc28da1 100644
(file)
--- a/
src/bin/pg_ctl/pg_ctl.c
+++ b/
src/bin/pg_ctl/pg_ctl.c
@@
-624,6
+624,8
@@
read_post_opts(void)
*arg1 = '\0'; /* terminate so we get only program name */
post_opts = arg1 + 1; /* point past whitespace */
}
+ else
+ post_opts = "";
if (postgres_path == NULL)
postgres_path = optline;
}