Re: Patch to add a socketTimeout property.

From: Kris Jurka <books(at)ejurka(dot)com>
To: Toru SHIMOGAKI <shimogaki(dot)toru(at)oss(dot)ntt(dot)co(dot)jp>
Cc: Art Gramlich <art(dot)gramlich(at)healthtrio(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Patch to add a socketTimeout property.
Date: 2008-04-10 18:31:26
Message-ID: Pine.BSO.4.64.0804101424310.5861@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Art Gramlich 2008-04-10 21:59:07 Re: Patch to add a socketTimeout property.
Previous Message Art Gramlich 2008-04-10 16:50:55 Re: Patch to add a socketTimeout property.