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 <[email protected]>
Reviewed-By: Peter Eisentraut <[email protected]>
Discussion: 
https://postgr.es/m/[email protected]

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(-)

Reply via email to