pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Allow spaces in connection strings in SSL tests
Date: Thu, 25 Jan 2018 14:21:23 +0000
Message-ID: <E1eeiP5-0004sl-Gl@gemulon.postgresql.org> (raw)

Allow spaces in connection strings in SSL tests

Connection strings can have items with spaces in them, wrapped in
quotes.  The tests however ran a SELECT '$connstr' upon connection which
broke on the embedded quotes.  Use dollar quotes on the connstr to
protect against this.  This was hit during the development of the macOS
Secure Transport patch, but is independent of it.

Author: Daniel Gustafsson <daniel@yesql.se>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4a3fdbdf766d80b21271e32da865801ab005d786

Modified Files
--------------
src/test/ssl/ServerSetup.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



Message-ID: <E1eeiP5-0004sl-Gl@gemulon.postgresql.org>
Permalink:  ../E1eeiP5-0004sl-Gl@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1eeiP5-0004sl-Gl@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: peter_e@gmx.net
  Subject: Re: pgsql: Allow spaces in connection strings in SSL tests
  In-Reply-To: <E1eeiP5-0004sl-Gl@gemulon.postgresql.org>
  References: <E1eeiP5-0004sl-Gl@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