From: | Noah Misch <noah(at)leadboat(dot)com> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Don't connect() to a wildcard address in test_postmaster_connect |
Date: | 2015-11-08 22:36:21 |
Message-ID: | E1ZvYZR-0002d4-4m@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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.
Branch
------
REL9_3_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/34725292d92d1ba643f46957803b45c3554b5d42
Modified Files
--------------
src/bin/pg_ctl/pg_ctl.c | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Noah Misch | 2015-11-08 22:42:14 | pgsql: Fix 9.5 version of previous commit to match its log message. |
Previous Message | Robert Haas | 2015-11-08 01:31:37 | pgsql: Remove set-but-not-used variables. |