pgsql: Probe only 127.0.0.1 when looking for ports on Unix.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Probe only 127.0.0.1 when looking for ports on Unix.
Date: 2019-05-08 10:07:36
Message-ID: E1hOJU8-0001xf-6H@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Probe only 127.0.0.1 when looking for ports on Unix.

Commit c0985099, later adjusted by commit 4ab02e81, probed 0.0.0.0
in addition to 127.0.0.1, for the benefit of Windows build farm
animals. It isn't really useful on Unix systems, and turned out to
be a bit inconvenient to users of some corporate firewall software.
Switch back to probing just 127.0.0.1 on non-Windows systems.

Back-patch to 9.6, like the earlier changes.

Discussion: https://postgr.es/m/CA%2BhUKG%2B21EPwfgs4m%2BtqyRtbVqkOUvP8QQ8sWk9%2Bh55Aub1H3A%40mail.gmail.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1f3bcb4972009c8af7b71d1526559475a248f77a

Modified Files
--------------
src/test/perl/PostgresNode.pm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2019-05-08 10:07:58 pgsql: Probe only 127.0.0.1 when looking for ports on Unix.
Previous Message Thomas Munro 2019-05-08 10:07:07 pgsql: Probe only 127.0.0.1 when looking for ports on Unix.