Re: Direct SSL connection with ALPN and HBA rules - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Direct SSL connection with ALPN and HBA rules
Date
Msg-id Zi-NngnbxKJCm6lg@paquier.xyz
Whole thread Raw
In response to Re: Direct SSL connection with ALPN and HBA rules  (Heikki Linnakangas <hlinnaka@iki.fi>)
List 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

Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: speed up a logical replica setup
Next
From: Robert Haas
Date:
Subject: Re: Support a wildcard in backtrace_functions