Re: Direct SSL connection with ALPN and HBA rules

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Direct SSL connection with ALPN and HBA rules
Дата
Msg-id Zi-NngnbxKJCm6lg@paquier.xyz
обсуждение исходный текст
Ответ на Re: Direct SSL connection with ALPN and HBA rules  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
On Mon, Apr 29, 2024 at 12:43:18PM +0300, Heikki Linnakangas wrote:
> If a caller wants to distinguish between "libpq or the SSL library doesn't
> support ALPN at all" from "the server didn't support ALPN", you can tell
> from whether PQsslAttribute returns NULL or an empty string. So I think an
> empty string is better.

Thanks.  I would also have used an empty string to differenciate these
two cases.
--
Michael

Вложения

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: speed up a logical replica setup
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Support a wildcard in backtrace_functions