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:24:29 +0300 |
commit | b90d97e081415768468295cc4d10d7ee21881964 (patch) | |
tree | 860766a0d788632f9b300297ee2d421572df22cf /src/backend/access/gist/gistvalidate.c | |
parent | 99fdebaf2da9160ec49a80854dc99e46722a9a03 (diff) | |
download | postgresql-b90d97e081415768468295cc4d10d7ee21881964.tar.gz postgresql-b90d97e081415768468295cc4d10d7ee21881964.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/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions