Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdb42ba
)
Fix 9.5 version of previous commit to match its log message.
author
Noah Misch
<noah@leadboat.com>
Sun, 8 Nov 2015 22:40:19 +0000
(17:40 -0500)
committer
Noah Misch
<noah@leadboat.com>
Sun, 8 Nov 2015 22:40:19 +0000
(17:40 -0500)
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 5465f526d4db75fdefa08216e385b60580be914a..03b9770d5007ebc9e93b0936e10534dcdc80dd7e 100644
(file)
--- a/
src/bin/pg_ctl/pg_ctl.c
+++ b/
src/bin/pg_ctl/pg_ctl.c
@@
-656,12
+656,10
@@
test_postmaster_connection(pgpid_t pm_pid, bool do_checkpoint)
*/
if (strcmp(host_str, "*") == 0)
strcpy(host_str, "localhost");
-#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(WIN32)
else if (strcmp(host_str, "0.0.0.0") == 0)
strcpy(host_str, "127.0.0.1");
else if (strcmp(host_str, "::") == 0)
strcpy(host_str, "::1");
-#endif
/*
* We need to set connect_timeout otherwise on Windows