pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Gregory Stark <stark@enterprisedb.com>
Cc: Toru SHIMOGAKI <shimogaki.toru@oss.ntt.co.jp>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: proposal: setKeepAlive
Date: Fri, 8 Feb 2008 12:43:19 -0500 (EST)
Message-ID: <Pine.BSO.4.64.0802081233060.19198@leary.csoft.net> (raw)
In-Reply-To: <87abmb2weo.fsf@oxford.xeocode.com>
References: <47AC666C.9070704@oss.ntt.co.jp>
	<87abmb2weo.fsf@oxford.xeocode.com>



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



view thread (11+ messages)  latest in thread

Message-ID: <Pine.BSO.4.64.0802081233060.19198@leary.csoft.net>
Permalink:  ../Pine.BSO.4.64.0802081233060.19198@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.64.0802081233060.19198@leary.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: books@ejurka.com, stark@enterprisedb.com, shimogaki.toru@oss.ntt.co.jp
  Subject: Re: proposal: setKeepAlive
  In-Reply-To: <Pine.BSO.4.64.0802081233060.19198@leary.csoft.net>
  References: <47AC666C.9070704@oss.ntt.co.jp> <87abmb2weo.fsf@oxford.xeocode.com> <Pine.BSO.4.64.0802081233060.19198@leary.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox