isValid(5) doesn't come back - Mailing list pgsql-jdbc

From Roger Pack
Subject isValid(5) doesn't come back
Date
Msg-id CAL1QdWcH=AeM-_NFCU=8qPm7VYTFEjtCFPawyHpMjhTxc-X9+Q@mail.gmail.com
Whole thread Raw
Responses Re: isValid(5) doesn't come back  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-jdbc
Sorry if I already reported this, I didn't see it in my feed.
Anyway, if the box you are connecting to (that has the Postgres server
on it) becomes "unresponsive" (i.e. stops sending or receiving any
network packets) then a call to isValid(5) can *hang forever*
temporary work around is to set a socketTimeout but it's not my
preferred option, since I'd have anticipated "isValid" to have timed
out after 5s.
FWIW.
More info available upon demand.
Cheers!

-Roger-


pgsql-jdbc by date:

Previous
From: Robert Zenz
Date:
Subject: Out parameters for functions.
Next
From: Dave Cramer
Date:
Subject: Re: isValid(5) doesn't come back