| From: | Andres Freund <andres(at)anarazel(dot)de> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Make PG_TEST_USE_UNIX_SOCKETS work for tap tests on windows. |
| Date: | 2021-12-13 19:33:24 |
| Message-ID: | E1mwr4e-0005lO-Ts@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)anarazel(dot)de>
Reviewed-By: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andres Freund | 2021-12-13 19:46:11 | pgsql: backpatch "Set application_name per-test in isolation and ecpg t |
| Previous Message | Andrew Dunstan | 2021-12-13 17:08:55 | Re: pgsql: Check that we have a working tar before trying to use it |