]> git.ipfire.org Git - thirdparty/psycopg.git/commit
refactor: add compiled_default option to _get_params 700/head
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 13 Dec 2023 13:20:49 +0000 (14:20 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 13 Dec 2023 13:20:49 +0000 (14:20 +0100)
commitda30e7fa050881333cbfe9e527d4e5559ced0842
tree65a2bdfc4ba8307867352db36dde23579e42d533
parent556033323c4fe796c14268c7d1b3c0def0dec90c
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