From: | Art Gramlich <art(dot)gramlich(at)healthtrio(dot)com> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Patch to add a socketTimeout property. |
Date: | 2008-04-09 17:52:13 |
Message-ID: | 303D8E43-CC8C-4EF4-8AA5-8C9D0D00B7BB@healthtrio.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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).
Attachment | Content-Type | Size |
---|---|---|
postgresql-jdbc-8.3-603-add_socket_timeout_property.diff | application/octet-stream | 5.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Toru SHIMOGAKI | 2008-04-10 04:36:10 | Re: Patch to add a socketTimeout property. |
Previous Message | Craig Ringer | 2008-04-09 12:43:56 | Re: invalid message format and I/O error while comunicating with backend |