pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make PG_TEST_USE_UNIX_SOCKETS work for tap tests on windows.
Date: Mon, 13 Dec 2021 19:33:24 +0000
Message-ID: <E1mwr4e-0005lO-Ts@gemulon.postgresql.org> (raw)

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



Message-ID: <E1mwr4e-0005lO-Ts@gemulon.postgresql.org>
Permalink:  ../E1mwr4e-0005lO-Ts@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mwr4e-0005lO-Ts@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: Make PG_TEST_USE_UNIX_SOCKETS work for tap tests on windows.
  In-Reply-To: <E1mwr4e-0005lO-Ts@gemulon.postgresql.org>
  References: <E1mwr4e-0005lO-Ts@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox