diff options
author | Noah Misch <noah@leadboat.com> | 2015-11-08 17:28:53 -0500 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2015-11-08 17:31:22 -0500 |
commit | 34725292d92d1ba643f46957803b45c3554b5d42 (patch) | |
tree | bf25fbdccf808c6d1201603bdf4d631d8b04da08 /src/tutorial | |
parent | 8db652359c1739d4fc216d7f780c149671ed83c5 (diff) |
Don't connect() to a wildcard address in test_postmaster_connection().
At least OpenBSD, NetBSD, and Windows don't support it. This repairs
pg_ctl for listen_addresses='0.0.0.0' and listen_addresses='::'. Since
pg_ctl prefers to test a Unix-domain socket, Windows users are most
likely to need this change. Back-patch to 9.1 (all supported versions).
This could change pg_ctl interaction with loopback-interface firewall
rules. Therefore, in 9.4 and earlier (released branches), activate the
change only on known-affected platforms.
Reported (bug #13611) and designed by Kondo Yuta.
Diffstat (limited to 'src/tutorial')
0 files changed, 0 insertions, 0 deletions