On Fri, May 12, 2017 at 1:28 PM, Tsunakawa, Takayuki <tsunakawa.ta...@jp.fujitsu.com> wrote: > Likewise, when the first host has already reached max_connections, libpq > doesn't attempt the connection aginst later hosts.
It seems to me that the feature is behaving as wanted. Or in short attempt to connect to the next host only if a connection cannot be established. If there is a failure once the exchange with the server has begun, just consider it as a hard failure. This is an important property for authentication and SSL connection failures actually. -- Michael -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers