diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2018-07-19 20:24:29 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2018-07-19 20:25:05 +0300 |
commit | ff4fb4cc1bde61a536a30834d19be088828a350e (patch) | |
tree | 16c8e75f57ff5ddc6d676404d1dbb122e0819e39 /src/backend/executor | |
parent | a1dc4ea02044af557e4464029016507ea0940d8c (diff) | |
download | postgresql-ff4fb4cc1bde61a536a30834d19be088828a350e.tar.gz postgresql-ff4fb4cc1bde61a536a30834d19be088828a350e.zip |
Fix error message when a hostaddr cannot be parsed.
We were incorrectly passing hostname, not hostaddr, in the error message,
and because of that, you got:
$ psql 'hostaddr=foo'
psql: could not parse network address "(null)": Name or service not known
Backpatch to v10, where this was broken (by commit 7b02ba62e9).
Report and fix by Robert Haas.
Discussion: https://www.postgresql.org/message-id/CA+TgmoapFQA30NomGKEaZCu3iN7mF7fux8fbbk9SouVOT2JP7w@mail.gmail.com
Diffstat (limited to 'src/backend/executor')
0 files changed, 0 insertions, 0 deletions