pgsql: Allow spaces in connection strings in SSL tests

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow spaces in connection strings in SSL tests
Date: 2018-01-25 14:21:23
Message-ID: E1eeiP5-0004sl-Gl@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)yesql(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2018-01-25 14:37:26 Re: reducing isolation tests runtime
Previous Message Robert Haas 2018-01-25 04:39:26 Re: pgsql: Add parallel-aware hash joins.