]> git.ipfire.org Git - thirdparty/psycopg.git/commit
feat: explicitly iterate on multiple hosts on connections
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 26 Oct 2023 21:16:01 +0000 (23:16 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 13 Nov 2023 19:54:13 +0000 (19:54 +0000)
commitc1f7a4aada68c646d94581584dbc8bb2b07a7ddc
treed61469b0e8eb746ea38549042b7511c705e1ffdb
parent7a20a156afef3486c8a4ba81b617c3617c5d5fc3
feat: explicitly iterate on multiple hosts on connections

The libpq async connection path doesn't iterate on the attempts, so we
need to do it ourselves.
14 files changed:
docs/api/dns.rst
docs/news.rst
psycopg/psycopg/_connection_base.py
psycopg/psycopg/connection.py
psycopg/psycopg/connection_async.py
psycopg/psycopg/conninfo.py
tests/_test_connection.py
tests/fix_proxy.py
tests/test_connection.py
tests/test_connection_async.py
tests/test_dns.py
tests/test_module.py
tests/test_psycopg_dbapi20.py
tools/async_to_sync.py