aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2018-07-19 20:24:29 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2018-07-19 20:24:59 +0300
commitdc961e5822343c8b22371a78ded4d6263418de61 (patch)
treec318c9a9563d068822fd3ccaeceed5289d02141c /src/backend/utils/adt/ruleutils.c
parent45fcd758a07fef44a8773202b13f469c9636dffc (diff)
downloadpostgresql-dc961e5822343c8b22371a78ded4d6263418de61.tar.gz
postgresql-dc961e5822343c8b22371a78ded4d6263418de61.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/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions