]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix pg_regress to print the correct postmaster address on Windows.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 4 Mar 2022 18:23:58 +0000 (13:23 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 4 Mar 2022 18:23:58 +0000 (13:23 -0500)
commit59392746cb3fd3c23b5f7bfa9568a71705ca30d1
tree5eaf110adf916856d7ed7cad9b3701c38d60d312
parent97031f440485a01627cb1cc442c0fb10d27b97bd
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/3894060.1646415641@sss.pgh.pa.us
src/interfaces/libpq/fe-connect.c
src/test/regress/pg_regress.c