Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id F32F72E0044 for ; Tue, 19 Feb 2008 05:46:43 -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 59533-10 for ; Tue, 19 Feb 2008 05:46:31 -0400 (AST) Received: from oxford.xeocode.com (unknown [87.127.95.194]) by postgresql.org (Postfix) with ESMTP id D1BCE2E0058 for ; Tue, 19 Feb 2008 05:46:31 -0400 (AST) Received: from localhost ([127.0.0.1] helo=oxford.xeocode.com) by oxford.xeocode.com with esmtp (Exim 4.69) (envelope-from ) id 1JRP3V-0003SA-1M; Tue, 19 Feb 2008 09:46:29 +0000 To: "Oliver Jowett" Cc: "Till Toenges" , "PostgreSQL - JDBC" , "Tom Lane" Subject: Re: Implementing setQueryTimeout() - round 2 In-Reply-To: <47BA9393.7090007@opencloud.com> (Oliver Jowett's message of "Tue\, 19 Feb 2008 21\:30\:11 +1300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Draft-From: ("nnimap+mail01.enterprisedb.com:INBOX" 65062) References: <47B8E200.2020307@opencloud.com> <5350.1203299903@sss.pgh.pa.us> <47B8EB1C.8090802@opencloud.com> <87ejbao6bg.fsf@oxford.xeocode.com> <47BA2A6E.6050907@opencloud.com> <17814.1203384054@sss.pgh.pa.us> <47BA470A.8000904@opencloud.com> <19443.1203390470@sss.pgh.pa.us> <47BA491E.9090603@opencloud.com> <47BA5D9C.5050203@opencloud.com> <47BA92F1.3040707@kyon.de> <47BA9393.7090007@opencloud.com> From: Gregory Stark Organization: EnterpriseDB Date: Tue, 19 Feb 2008 09:46:28 +0000 Message-ID: <87ve4lz3bf.fsf@oxford.xeocode.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/148 X-Sequence-Number: 18355 "Oliver Jowett" writes: > The real world case I am dealing with needs the hardQueryTimeout behaviour. If > I'm going to implement anything first, it's that. I still don't understand why this has to be in the driver. Your application is going to have to be able to handle creating a new connection in response to this error so why can't it just also be the one to close the connection? -- Gregory Stark EnterpriseDB http://www.enterprisedb.com Ask me about EnterpriseDB's 24x7 Postgres support!