docs: Link to the correct protocol version inspection function
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.
Attachments:
v1-0001-docs-Link-to-the-correct-protocol-version-inspect.patchapplication/x-patch; name=v1-0001-docs-Link-to-the-correct-protocol-version-inspect.patchDownload+1-2
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
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