We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdb42ba commit 40c2867Copy full SHA for 40c2867
src/bin/pg_ctl/pg_ctl.c
@@ -656,12 +656,10 @@ test_postmaster_connection(pgpid_t pm_pid, bool do_checkpoint)
656
*/
657
if (strcmp(host_str, "*") == 0)
658
strcpy(host_str, "localhost");
659
-#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(WIN32)
660
else if (strcmp(host_str, "0.0.0.0") == 0)
661
strcpy(host_str, "127.0.0.1");
662
else if (strcmp(host_str, "::") == 0)
663
strcpy(host_str, "::1");
664
-#endif
665
666
/*
667
* We need to set connect_timeout otherwise on Windows
0 commit comments