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

From Kris Jurka
Subject Re: Patch to add a socketTimeout property.
Date
Msg-id Pine.BSO.4.64.0804101424310.5861@leary.csoft.net
Whole thread Raw
In response to Re: Patch to add a socketTimeout property.  (Toru SHIMOGAKI <shimogaki.toru@oss.ntt.co.jp>)
Responses Re: Patch to add a socketTimeout property.  (Art Gramlich <art.gramlich@healthtrio.com>)
List pgsql-jdbc

On Thu, 10 Apr 2008, Toru SHIMOGAKI wrote:

>
> Art Gramlich wrote:
>> 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.
>
> Good. Although I submitted setKeepAlive patch to solve network down two month
> ago[1], it is not accepted so far. I think socket timeout is reasonable
> solution and easy to use.
>

It seems like keepalives are a better solution to dead server
detection.  Don't timeouts just cause problems when you have a long
running query?

Kris Jurka

pgsql-jdbc by date:

Previous
From: Art Gramlich
Date:
Subject: Re: Patch to add a socketTimeout property.
Next
From: Art Gramlich
Date:
Subject: Re: Patch to add a socketTimeout property.