]> git.ipfire.org Git - thirdparty/psycopg.git/commit
feat: raise a warning if a GSS connection is obtained using the libpq default
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 26 Aug 2025 01:28:16 +0000 (03:28 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 7 Sep 2025 14:06:51 +0000 (16:06 +0200)
commit05e4982b41b669505031ba9d3f5c7014931ad055
treee5a818856d13346371ba51cf9b208fdda94ea813
parent1c3fc9f698f199755a2ae1107a6e41311b9150f8
feat: raise a warning if a GSS connection is obtained using the libpq default

Suggest the user to specify a 'gssencmode' setting explicitly so that,
in the future, we will be able to change the setting default to 'disable'.

Note: the warning in psycopg 3.3 is a runtime warning; in 3.2.x was a
deprectation warning.

See #1136
docs/news.rst
psycopg/psycopg/_conninfo_utils.py
psycopg/psycopg/connection.py
psycopg/psycopg/connection_async.py
tests/test_connection.py
tests/test_connection_async.py