Re: Support for NSS as a libpq TLS backend

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Support for NSS as a libpq TLS backend
Дата
Msg-id 20210401141515.GR20766@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: Support for NSS as a libpq TLS backend  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Greetings,

* Michael Paquier (michael@paquier.xyz) wrote:
> On Wed, Mar 31, 2021 at 10:15:15PM +0000, Jacob Champion wrote:
> > I think we're going to need some analogue to PQinitOpenSSL() to help
> > client applications cut through the mess, but I'm not sure what it
> > should look like, or how we would maintain any sort of API
> > compatibility between the two flavors. And does libpq already have some
> > notion of a "main thread" that I'm missing?
>
> Nope as far as I recall.  With OpenSSL, the initialization of the SSL
> mutex lock and the crypto callback initialization is done by the first
> thread in.

Yeah, we haven't got any such concept in libpq.  I do think that some of
this can simply be documented as "if you do this, then you need to make
sure to do this".

Thanks,

Stephen

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: libpq debug log
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: sepgsql logging