From: Dave Cramer [mailto:p...@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 seemed to try each host once in a while loop. Regards Takayuki Tsunakawa