From: Michael Paquier [mailto:michael.paquier@gmail.com]
> 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.
But PgJDBC behaves as expected -- attempt another connection to other hosts (and succeed). I believe that's what users
wouldnaturally expect. The current libpq implementation handles only the socket-level connect failure.
Regards
Takayuki Tsunakawa