git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 5bbdfa8) | patch
Add PQfullProtocolVersion() to surface the precise protocol version.
Mon, 9 Sep 2024 15:54:55 +0000 (11:54 -0400)
Mon, 9 Sep 2024 15:54:55 +0000 (11:54 -0400)
commit cdb6b0fdb0b2face270406905d31f8f513b015cc
Add PQfullProtocolVersion() to surface the precise protocol version.

The existing function PQprotocolVersion() does not include the minor
version of the protocol. In preparation for pending work that will
bump that number for the first time, add a new function to provide it
to clients that may care, using the (major * 10000 + minor)
convention already used by PQserverVersion().

Jacob Champion based on earlier work by Jelte Fennema-Nio

Discussion: http://postgr.es/m/CAOYmi+mM8+6Swt1k7XsLcichJv8xdhPnuNv7-02zJWsezuDL+g@mail.gmail.com
doc/src/sgml/libpq.sgml diff | blob | blame | history
src/include/libpq/pqcomm.h diff | blob | blame | history
src/interfaces/libpq/fe-connect.c diff | blob | blame | history
src/interfaces/libpq/libpq-fe.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /