Re: List of hostaddrs not supported
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>,
"Tsunakawa,
Takayuki" <tsunakawa.takay@jp.fujitsu.com>,
Mithun Cy <mithun.cy@enterprisedb.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-06-08T14:50:26Z
Lists: pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes: > It doesn't seem like a problem to me if somebody else wants to extend > it to hostaddr, though. Whether that change belongs in v10 or v11 is > debatable. I would object to adding this as an open item with me as > the owner because doesn't seem to me to be a must-fix issue, but I > don't mind someone else doing the work. If you want to define multiple-hostaddrs as a future feature, that seems fine, but I think Heikki is describing actual bugs. The minimum that I think needs to be done for v10 is to make libpq reject a hostaddr string with the wrong number of entries (either different from the host list, or different from 1). regards, tom lane
Commits
-
Fix check for empty hostname.
- 4d06f1f858d0 10.0 landed
-
Allow multiple hostaddrs to go with multiple hostnames.
- 7b02ba62e9ff 10.0 landed
-
Silence warning about uninitialized 'ret' variable on some compilers.
- 493490cbcb19 10.0 landed
-
Give a better error message on invalid hostaddr option.
- 76b11e8a43ec 10.0 landed