pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: docs: Link to the correct protocol version inspection function
2+ messages / 1 participants
[nested] [flat]

* pgsql: docs: Link to the correct protocol version inspection function
@ 2025-10-30 10:06 Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2025-10-30 10:06 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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%40mai...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9fcd4874ed50ee6c60dadd0f1146d8fea9ff0055

Modified Files
--------------
doc/src/sgml/libpq.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: docs: Link to the correct protocol version inspection function
@ 2025-10-30 10:06 Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2025-10-30 10:06 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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%40mai...

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2025-10-30 10:06 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-10-30 10:06 pgsql: docs: Link to the correct protocol version inspection function Peter Eisentraut <peter@eisentraut.org>
2025-10-30 10:06 pgsql: docs: Link to the correct protocol version inspection function Peter Eisentraut <peter@eisentraut.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox