Re: [HACKERS] Support for Secure Transport SSL library on macOS asOpenSSL alternative

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] Support for Secure Transport SSL library on macOS asOpenSSL alternative
Дата
Msg-id 723aa36e-18a4-d942-8221-38b9751effc3@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Support for Secure Transport SSL library on macOS as OpenSSL alternative  (Daniel Gustafsson <daniel@yesql.se>)
Ответы Re: [HACKERS] Support for Secure Transport SSL library on macOS as OpenSSL alternative
Список pgsql-hackers
On 1/23/18 14:59, Daniel Gustafsson wrote:
> It’s not specific to the implementation per se, but it increases the likelyhood
> of hitting it.  In order to load certificates from Keychains the cert common
> name must be specified in the connstr, when importing the testfiles into
> keychains I ran into it for example src/test/ssl/client_ca.config.

The change is

- 'psql', '-X', '-A', '-t', '-c', "SELECT 'connected with $connstr'",
+ 'psql', '-X', '-A', '-t', '-c', "SELECT \$\$connected with $connstr\$\$",

So the problem must have been a single quote in the connstr.

That can surely happen, but then so can having a $$.  So without a
concrete example, I'm not sure how to proceed.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: WIP: BRIN multi-range indexes
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] parallel.c oblivion of worker-startup failures