Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id D2DE32E0040 for ; Mon, 18 Feb 2008 23:08:01 -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 84072-10 for ; Mon, 18 Feb 2008 23:07:50 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id CF3B52E0041 for ; Mon, 18 Feb 2008 23:07:58 -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 m1J37oBW019444; Mon, 18 Feb 2008 22:07:50 -0500 (EST) To: Oliver Jowett cc: Gregory Stark , PostgreSQL - JDBC Subject: Re: Implementing setQueryTimeout() In-reply-to: <47BA470A.8000904@opencloud.com> 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> Comments: In-reply-to Oliver Jowett message dated "Tue, 19 Feb 2008 16:03:38 +1300" Date: Mon, 18 Feb 2008 22:07:50 -0500 Message-ID: <19443.1203390470@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/134 X-Sequence-Number: 18341 Oliver Jowett writes: > Tom Lane wrote: >> I think it's a serious, serious conceptual error to tie network timeouts >> to query timeouts. > Why? I don't understand this argument. Because the failure mechanisms that you're worried about are completely different in the two cases, and don't necessarily have similar timeout requirements (to say nothing of the appropriate recovery actions). regards, tom lane