aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2015-11-08 17:40:19 -0500
committerNoah Misch <noah@leadboat.com>2015-11-08 17:40:19 -0500
commit40c28678aa65308f27347cd218a09fdc92c483ef (patch)
treec54475f18fb9d46a1cbb4fe14911be979ae3555d
parentbdb42bac3c96a5affe5e476a56b85562b2ed0da9 (diff)
downloadpostgresql-40c28678aa65308f27347cd218a09fdc92c483ef.tar.gz
postgresql-40c28678aa65308f27347cd218a09fdc92c483ef.zip
Fix 9.5 version of previous commit to match its log message.
-rw-r--r--src/bin/pg_ctl/pg_ctl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c
index 5465f526d4d..03b9770d500 100644
--- 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