Patch to add a socketTimeout property. - Mailing list pgsql-jdbc

From Art Gramlich
Subject Patch to add a socketTimeout property.
Date
Msg-id 303D8E43-CC8C-4EF4-8AA5-8C9D0D00B7BB@healthtrio.com
Whole thread Raw
Responses Re: Patch to add a socketTimeout property.  (Toru SHIMOGAKI <shimogaki.toru@oss.ntt.co.jp>)
List pgsql-jdbc
Several jdbc drivers have recently added a way to set  the SOTimeout
on the connections socket.  For those of us accessing databases over a
unreliable connections, this can be quite helpful.
Attached is a patch to add support for an additional url property
"socketTimeout" and property in the DataSource classes.  The property
is in seconds (like jtds and IBM DB2's driver and unlike the Oracle
driver).





Art Gramlich
Chief Application Architect
HealthTrio, LLC
art.gramlich@healthtrio.com


Attachment

pgsql-jdbc by date:

Previous
From: Craig Ringer
Date:
Subject: Re: invalid message format and I/O error while comunicating with backend
Next
From: Toru SHIMOGAKI
Date:
Subject: Re: Patch to add a socketTimeout property.