From: Dave Cramer [mailto:pg@fastcrypt.com]
> >> 2) If there's no node on which pg_is_in_recovery() returns false,
> then
> >> we need to retry until we find it. To not retry forever, there
> >> should be a timeout counter parameter.
> Checking the code I see we actually use show transaction_read_only.
Also, does PgJDBC really repeat connection attempts for a user-specified duration? Having a quick look at the code, it
seemedto try each host once in a while loop.
Regards
Takayuki Tsunakawa