aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2015-11-08 17:28:53 -0500
committerNoah Misch <noah@leadboat.com>2015-11-08 17:31:24 -0500
commit87deb55a4723e3ee00e4324fca684c26cfa17cc6 (patch)
tree28f3856e4384a5ca307a21971dd7718a5b555bce /src/backend/utils/adt/ruleutils.c
parent03ee6591dd305613a22902fb777a192fe1970adc (diff)
downloadpostgresql-87deb55a4723e3ee00e4324fca684c26cfa17cc6.tar.gz
postgresql-87deb55a4723e3ee00e4324fca684c26cfa17cc6.zip
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/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions