Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 556012E0049 for ; Tue, 19 Feb 2008 04:27:34 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 81656-03 for ; Tue, 19 Feb 2008 04:27:25 -0400 (AST) Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by postgresql.org (Postfix) with ESMTP id 523362E0038 for ; Tue, 19 Feb 2008 04:27:27 -0400 (AST) Received: from 219-89-100-120.jetstart.xtra.co.nz ([219.89.100.120] helo=[192.168.1.3]) by tremor.opencloud.co.nz with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JRNor-0007Lc-K9; Tue, 19 Feb 2008 21:27:17 +1300 Message-ID: <47BA92EA.1070201@opencloud.com> Date: Tue, 19 Feb 2008 21:27:22 +1300 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Till Toenges CC: Tom Lane , Gregory Stark , PostgreSQL - JDBC Subject: Re: Implementing setQueryTimeout() 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> <47BA9284.5050407@kyon.de> In-Reply-To: <47BA9284.5050407@kyon.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/141 X-Sequence-Number: 18348 Till Toenges wrote: > A network timeout or anything worse is handled in an entirely different > part of the code. That is not the responsibility of the driver, and > doesn't event need to be part of the database related code at all. I'm not sure what you mean here - if the connection to the DB fails, the driver will certainly handle that and tell you about it via a SQLException! -O