pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix error message when a hostaddr cannot be parsed.
3+ messages / 1 participants
[nested] [flat]

* pgsql: Fix error message when a hostaddr cannot be parsed.
@ 2018-07-19 17:26 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 3+ messages in thread

From: Heikki Linnakangas @ 2018-07-19 17:26 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b90d97e081415768468295cc4d10d7ee21881964

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Fix error message when a hostaddr cannot be parsed.
@ 2018-07-19 17:26 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 3+ messages in thread

From: Heikki Linnakangas @ 2018-07-19 17:26 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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...

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/dc961e5822343c8b22371a78ded4d6263418de61

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Fix error message when a hostaddr cannot be parsed.
@ 2018-07-19 17:26 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 3+ messages in thread

From: Heikki Linnakangas @ 2018-07-19 17:26 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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...

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ff4fb4cc1bde61a536a30834d19be088828a350e

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2018-07-19 17:26 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-07-19 17:26 pgsql: Fix error message when a hostaddr cannot be parsed. Heikki Linnakangas <heikki.linnakangas@iki.fi>
2018-07-19 17:26 pgsql: Fix error message when a hostaddr cannot be parsed. Heikki Linnakangas <heikki.linnakangas@iki.fi>
2018-07-19 17:26 pgsql: Fix error message when a hostaddr cannot be parsed. Heikki Linnakangas <heikki.linnakangas@iki.fi>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox