Re: proposal: setKeepAlive
От | Kris Jurka |
---|---|
Тема | Re: proposal: setKeepAlive |
Дата | |
Msg-id | Pine.BSO.4.64.0802081233060.19198@leary.csoft.net обсуждение исходный текст |
Ответ на | Re: proposal: setKeepAlive (Gregory Stark <stark@enterprisedb.com>) |
Ответы |
Re: proposal: setKeepAlive
|
Список | 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 по дате отправления: