]> git.ipfire.org Git - thirdparty/psycopg.git/commit
refactor: add compiled_default option to _get_params
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 13 Dec 2023 13:20:49 +0000 (14:20 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 14 Dec 2023 11:51:12 +0000 (12:51 +0100)
commit445050b28e7448110552c3cd17e82478a3eddb2d
treeb073708194ddcd2e0d5bd6c3af1fb27bcf9c4cc3
parenta28ed4e70d2267b35567d8f5b5efe5b59bd223d8
refactor: add compiled_default option to _get_params

Make it less awkward to come out with a 5432 when we really want a port
number (in name resolution) but still allow to leave it unspecified to
avoid mangling the conninfo.
psycopg/psycopg/conninfo.py