mirror of
https://github.com/postgres/postgres.git
synced 2026-03-10 10:11:28 -04:00
Fix 9.5 version of previous commit to match its log message.
This commit is contained in:
parent
bdb42bac3c
commit
40c28678aa
1 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue