pgsql: Make PG_TEST_USE_UNIX_SOCKETS work for tap tests on windows. - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Make PG_TEST_USE_UNIX_SOCKETS work for tap tests on windows.
Date
Msg-id E1mwr4e-0005lO-Ts@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Make PG_TEST_USE_UNIX_SOCKETS work for tap tests on windows.

We need to replace windows-style \ path separators with / when putting socket
directories either in postgresql.conf or libpq connection strings, otherwise
they are interpreted as escapes.

Author: Andres Freund <andres@anarazel.de>
Reviewed-By: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Discussion: https://postgr.es/m/4da250a5-4222-1522-f14d-8a72bcf7e38e@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/45f52709d86ceaaf282a440f6311c51fc526340b

Modified Files
--------------
src/bin/pg_ctl/t/001_start_stop.pl       |  1 +
src/test/perl/PostgreSQL/Test/Cluster.pm | 13 ++++++++++++-
2 files changed, 13 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: pgsql: Check that we have a working tar before trying to use it
Next
From: Andres Freund
Date:
Subject: pgsql: backpatch "Set application_name per-test in isolation and ecpg t