]> git.ipfire.org Git - thirdparty/postgresql.git/commit
docs: Link to the correct protocol version inspection function
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 30 Oct 2025 09:59:56 +0000 (10:59 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 30 Oct 2025 10:02:00 +0000 (11:02 +0100)
commitfa78e5bea53a3096d1df7d1b2d7cbd58d15a9b7a
tree538b4104621a23180c09d6dd7db10eb14bfd42f9
parentbf3dba508ee1c812b790e3f3f059659c69f74cdf
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.

Author: Jelte Fennema-Nio <postgres@jeltef.nl>
Reviewed-by: Shinya Kato <shinya11.kato@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CAGECzQSKFxQsYAgr11PhdOr-RtPZEdAXZnHx6U3avLuk3xQaTQ%40mail.gmail.com
doc/src/sgml/libpq.sgml