proposal: setKeepAlive

From: Toru SHIMOGAKI <shimogaki(dot)toru(at)oss(dot)ntt(dot)co(dot)jp>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: proposal: setKeepAlive
Date: 2008-02-08 14:25:48
Message-ID: 47AC666C.9070704@oss.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


Hi,

The attached makes tcp-keep-alive enable. When PostgreSQL server gets down or
network gets down, client application can't receive any response from the server.

PostgreSQL server has GUC parameters: tcp_keepalives_* and statement_timeout,
but JDBC doesn't have such features. setQueryTimeout() is not implemented so
far, so setKeepAlive() is needed for above situation at the very least.

Best regards,

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

Attachment Content-Type Size
setKeepAlive.patch text/plain 826 bytes

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Gregory Stark 2008-02-08 17:25:03 Re: proposal: setKeepAlive
Previous Message Tom Lane 2008-02-05 23:09:25 Re: Performance comparison to psql.