X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2996753C92 for ; Thu, 24 Feb 2005 11:44:28 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 91908-05 for ; Thu, 24 Feb 2005 11:44:24 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 2AE1F55DC4 for ; Thu, 24 Feb 2005 11:44:22 +0000 (GMT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1D4HPu-0002Tj-00; Fri, 25 Feb 2005 00:44:26 +1300 Message-ID: <421DBE17.9040106@opencloud.com> Date: Fri, 25 Feb 2005 00:44:23 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0 (X11/20041228) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sergei Georgiev Cc: pgsql-jdbc@postgresql.org Subject: Re: Socket timeouts (probably) References: <421D6222.500@opencloud.com> In-Reply-To: X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/186 X-Sequence-Number: 12366 Sergei Georgiev wrote: > I found that there is a property called > "statement_timeout" in the postgresql.conf. This limits the time, in > which a statement must be executed. It looks like a solution to me, > but I need to test it. > 10x anyway :) statement_timeout will only catch cases where the network fails while the client is partway through sending a query or receiving (lots of) result data. -O