8000 Fix 9.5 version of previous commit to match its log message. · home201448/postgres@40c2867 · GitHub
[go: up one dir, main page]

Skip to content

Commit 40c2867

Browse files
committed
Fix 9.5 version of previous commit to match its log message.
1 parent bdb42ba commit 40c2867

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/bin/pg_ctl/pg_ctl.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,12 +656,10 @@ test_postmaster_connection(pgpid_t pm_pid, bool do_checkpoint)
656656
*/
657657
if (strcmp(host_str, "*") == 0)
658658
strcpy(host_str, "localhost");
659-
#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(WIN32)
660659
else if (strcmp(host_str, "0.0.0.0") == 0)
661660
strcpy(host_str, "127.0.0.1");
662661
else if (strcmp(host_str, "::") == 0)
663662
strcpy(host_str, "::1");
664-
#endif
665663

666664
/*
667665
* We need to set connect_timeout otherwise on Windows

0 commit comments

Comments
 (0)
0