Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Fix 9.5 version of previous commit to match its log message.
authorNoah Misch <noah@leadboat.com>
Sun, 8 Nov 2015 22:40:19 +0000 (17:40 -0500)
committerNoah Misch <noah@leadboat.com>
Sun, 8 Nov 2015 22:40:19 +0000 (17:40 -0500)
src/bin/pg_ctl/pg_ctl.c

index 5465f526d4db75fdefa08216e385b60580be914a..03b9770d5007ebc9e93b0936e10534dcdc80dd7e 100644 (file)
@@ -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