]> git.ipfire.org Git - thirdparty/psycopg.git/commit
feat: add support for libpq PQconnectionUsedGSSAPI()
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 25 Aug 2025 16:35:30 +0000 (18:35 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 26 Aug 2025 12:50:30 +0000 (14:50 +0200)
commitc9c8367533bb07f910b37ccd82b898cc5aa89c48
tree1c5e3fea73868a364915b7360d61631f2c2a62e1
parent0f895c1d9dba1fb3fd2d8402db0073195674323c
feat: add support for libpq PQconnectionUsedGSSAPI()

We will not advertise its presence as PGconn.used_gssapi until Psycopg
3.3. However we can use it internally to implement a warning to check
the implicit usage of gssencmode=prefer.

See #1136
psycopg/psycopg/errors.py
psycopg/psycopg/pq/_pq_ctypes.py
psycopg/psycopg/pq/_pq_ctypes.pyi
psycopg/psycopg/pq/abc.py
psycopg/psycopg/pq/pq_ctypes.py
psycopg_c/psycopg_c/pq/libpq.pxd
psycopg_c/psycopg_c/pq/pgconn.pyx
tests/pq/test_pgconn.py