pgsql: Fix pg_regress to print the correct postmaster address on Window

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix pg_regress to print the correct postmaster address on Window
Date: 2022-03-04 18:24:12
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix pg_regress to print the correct postmaster address on Windows.

pg_regress reported "Unix socket" as the default location whenever
HAVE_UNIX_SOCKETS is defined. However, that's not been accurate
on Windows since 8f3ec75de. Update this logic to match what libpq
actually does now.

This is just cosmetic, but still it's potentially misleading.
Back-patch to v13 where 8f3ec75de came in.

Discussion: https://postgr.es/m/[email protected]

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a008c03dd722f3a9ea44b13ca2cc6066fd90ddc1

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 5 +++++
src/test/regress/pg_regress.c | 10 ++++++++--
2 files changed, 13 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2022-03-05 02:56:44 pgsql: Introduce PG_TEST_TIMEOUT_DEFAULT for TAP suite non-elapsing tim
Previous Message Peter Eisentraut 2022-03-04 13:56:46 pgsql: Parse/analyze function renaming