Обсуждение: docs: Link to the correct protocol version inspection function

Поиск
Список
Период
Сортировка

docs: Link to the correct protocol version inspection function

От
Jelte Fennema-Nio
Дата:
The docs for max_protocol_version suggested PQprotocolVersion instead of
PQfullProtocolVersion to find out the exact protocol version. Since
PQprotocolVersion only returns the major protocol version that is bad
advice.

Вложения

Re: docs: Link to the correct protocol version inspection function

От
Shinya Kato
Дата:
Hi,

On Wed, Oct 22, 2025 at 6:42 PM Jelte Fennema-Nio <postgres@jeltef.nl> wrote:
>
> The docs for max_protocol_version suggested PQprotocolVersion instead of
> PQfullProtocolVersion to find out the exact protocol version. Since
> PQprotocolVersion only returns the major protocol version that is bad
> advice.

Nice catch! The patch looks good to me.

--
Best regards,
Shinya Kato
NTT OSS Center



Re: docs: Link to the correct protocol version inspection function

От
Peter Eisentraut
Дата:
On 23.10.25 07:58, Shinya Kato wrote:
> On Wed, Oct 22, 2025 at 6:42 PM Jelte Fennema-Nio <postgres@jeltef.nl> wrote:
>> The docs for max_protocol_version suggested PQprotocolVersion instead of
>> PQfullProtocolVersion to find out the exact protocol version. Since
>> PQprotocolVersion only returns the major protocol version that is bad
>> advice.
> 
> Nice catch! The patch looks good to me.

committed