git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: a01a501) | patch
libpq: Fix inadvertent change in PQhost() behavior.
Thu, 1 Dec 2016 19:36:39 +0000 (14:36 -0500)
Thu, 1 Dec 2016 19:36:39 +0000 (14:36 -0500)
commit 11003eb55658df0caf183eef69c7a97d56a4f2d7
libpq: Fix inadvertent change in PQhost() behavior.

Commit 274bb2b3857cc987cfa21d14775cae9b0dababa5 caused PQhost() to
return the value of the hostaddr parameter rather than the relevant
host when the latter parameter was specified. That's wrong. Commit
9a1d0af4ad2cbd419115b453d811c141b80d872b then amplified the damage by
using PQhost() in more places, so that the SSL test suite started
failing.

Report by Andreas Karlsson; patch by me.
src/interfaces/libpq/fe-connect.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /