Re: Patch to add a socketTimeout property.

From: Toru SHIMOGAKI <shimogaki(dot)toru(at)oss(dot)ntt(dot)co(dot)jp>
To: Art Gramlich <art(dot)gramlich(at)healthtrio(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Patch to add a socketTimeout property.
Date: 2008-04-10 04:36:10
Message-ID: 47FD993A.70809@oss.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


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.

[1] http://archives.postgresql.org/pgsql-jdbc/2008-02/msg00022.php

Best regards,

--
Toru SHIMOGAKI<shimogaki(dot)toru(at)oss(dot)ntt(dot)co(dot)jp>
NTT Open Source Software Center

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Thomas Burdairon 2008-04-10 09:47:36 Re: Re: [HACKERS] How embarrassing: optimization of a one-shot query doesn't work
Previous Message Art Gramlich 2008-04-09 17:52:13 Patch to add a socketTimeout property.