Re: proposal: setKeepAlive - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: proposal: setKeepAlive
Date
Msg-id Pine.BSO.4.64.0802081233060.19198@leary.csoft.net
Whole thread Raw
In response to Re: proposal: setKeepAlive  (Gregory Stark <stark@enterprisedb.com>)
Responses Re: proposal: setKeepAlive  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-jdbc

On Fri, 8 Feb 2008, Gregory Stark wrote:

> "Toru SHIMOGAKI" <shimogaki.toru@oss.ntt.co.jp> writes:
>
>> 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.
>
> This has to be an option, not on unconditionally. In fact they shouldn't
> be on automatically. Applications should have to explicitly request TCP
> keep-alives and set an application-specific appropriate interval.
> Otherwise you're breaking TCP in general for a behaviour which is only
> useful in particular circumstances.

Java does not support a configurable keepalive interval, it's simply an
on/off flag.

Kris Jurka

pgsql-jdbc by date:

Previous
From: Gregory Stark
Date:
Subject: Re: proposal: setKeepAlive
Next
From: Gregory Stark
Date:
Subject: Re: proposal: setKeepAlive