Thread
Commits
-
docs: Link to the correct protocol version inspection function
- fa78e5bea53a 18.1 landed
- 9fcd4874ed50 19 (unreleased) landed
-
docs: Link to the correct protocol version inspection function
Jelte Fennema-Nio <postgres@jeltef.nl> — 2025-10-22T09:42:07Z
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 <shinya11.kato@gmail.com> — 2025-10-23T05:58:37Z
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 <peter@eisentraut.org> — 2025-10-30T10:06:40Z
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