Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 0BD9F2E2D3D for ; Sat, 9 Feb 2008 19:01:58 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 26738-09 for ; Sat, 9 Feb 2008 19:01:54 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id B91242E2D3C for ; Sat, 9 Feb 2008 19:01:53 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m19N1g0h001701; Sat, 9 Feb 2008 18:01:42 -0500 (EST) To: Oliver Jowett cc: Gregory Stark , Toru SHIMOGAKI , pgsql-jdbc@postgresql.org Subject: Re: proposal: setKeepAlive In-reply-to: <47AE2D07.50904@opencloud.com> References: <47AC666C.9070704@oss.ntt.co.jp> <87abmb2weo.fsf@oxford.xeocode.com> <47AE2D07.50904@opencloud.com> Comments: In-reply-to Oliver Jowett message dated "Sun, 10 Feb 2008 11:45:27 +1300" Date: Sat, 09 Feb 2008 18:01:42 -0500 Message-ID: <1700.1202598102@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/28 X-Sequence-Number: 18235 Oliver Jowett writes: > People seem to like to put stateful firewalls with low connection > activity timeouts between their DB server and client. We get regular > traffic on the list from people who see connections get reset on their > first use after a long idle period. Presumably TCP keepalive would help > in some of these cases. There's certainly a use-case there, but we already provide TCP keepalive functionality on the server side, which should be good enough to hold open a NAT connection. It's not clear to me why we need keepalive probes coming from the client side too. regards, tom lane