]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix: make sure to pass a port number to getaddrinfo
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 2 Sep 2022 15:30:23 +0000 (16:30 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 4 Sep 2022 09:24:34 +0000 (10:24 +0100)
commitd18192e879bcadf79b4189fbea669cdb06516de8
tree1e43be4c6a25c39c15f2b9277c651f2e72bdb92a
parente824f7cd6d01cb9c55e56bf78ea0808a08d7f92a
fix: make sure to pass a port number to getaddrinfo

Was passing an empty string by mistake, if no port was specified. Mostly
not a problem, except on some platforms, where it causes an
"unrecognized service" error.

Close #366.
docs/news.rst
psycopg/psycopg/_dns.py