| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: docs: Link to the correct protocol version inspection function |
| Date: | 2025-10-30 10:06:28 |
| Message-ID: | E1vEPY4-004E2N-0G@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(at)jeltef(dot)nl>
Reviewed-by: Shinya Kato <shinya11(dot)kato(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/CAGECzQSKFxQsYAgr11PhdOr-RtPZEdAXZnHx6U3avLuk3xQaTQ%40mail.gmail.com
Branch
------
REL_18_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/fa78e5bea53a3096d1df7d1b2d7cbd58d15a9b7a
Modified Files
--------------
doc/src/sgml/libpq.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2025-10-30 10:26:05 | pgsql: Fix some confusing uses of const |
| Previous Message | Peter Eisentraut | 2025-10-30 09:18:27 | pgsql: const-qualify ItemPointer comparison functions |