]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
if only one host and/or port in query string, never raise
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 7 Jul 2023 20:50:26 +0000 (16:50 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 7 Jul 2023 20:50:26 +0000 (16:50 -0400)
commitfb060d99c6046ccde5946207233128415cb6ee8d
tree7d4aebef77d98617a259b16081c0b0d3e7e93910
parent400aa8a676ba1a0a1536ae52a20caa93726525dd
if only one host and/or port in query string, never raise

silently ignore the host portion of the URL if host=xyz
is present, and document this.

Fixes: #10076
Change-Id: I370b138aec63a9a2aa6029fe9e66eb1659434a43
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/dialects/postgresql/psycopg2.py
test/dialect/postgresql/test_dialect.py