pgsql: Make PG_TEST_USE_UNIX_SOCKETS work for tap tests on windows.
pgsql: Make PG_TEST_USE_UNIX_SOCKETS work for tap tests on windows.
От:
Andres Freund <andres@anarazel.de>
Дата:
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 Reviewed-By: Peter Eisentraut 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(-)