From: pgsql-hackers-owner@postgresql.org
> sense to add support for multiple hostaddrs. For consitency's sake if
> nothing else.
Yes, consistency and performance. The purpose of hostaddr is to speed up connection by eliminating DNS lookup, isn't
it? Then, some users should want to specify multiple IP addresses for hostaddr and omit host.
> By the way is comma separated hosts documented somewhere? It is not included
> in
> https://www.postgresql.org/docs/9.6/static/libpq-connect.html#LIBPQ-PA
> RAMKEYWORDS.
Specifying multiple hosts is a new feature to be introduced in v10, so that's here:
https://www.postgresql.org/docs/devel/static/libpq-connect.html
Regards
Takayuki Tsunakawa