Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id A31991927BC3 for ; Wed, 14 Dec 2011 23:27:14 -0400 (AST) Received: from mail-yx0-f174.google.com ([209.85.213.174]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Rb1yT-0006J2-2o for pgsql-jdbc@postgresql.org; Thu, 15 Dec 2011 03:27:14 +0000 Received: by yenm11 with SMTP id m11so1174999yen.19 for ; Wed, 14 Dec 2011 19:27:00 -0800 (PST) Received: by 10.236.156.5 with SMTP id l5mr2618739yhk.29.1323919620208; Wed, 14 Dec 2011 19:27:00 -0800 (PST) Received: from [10.0.0.53] (office1.postnewspapers.com.au. [150.101.171.128]) by mx.google.com with ESMTPS id q16sm6230239anb.19.2011.12.14.19.26.57 (version=SSLv3 cipher=OTHER); Wed, 14 Dec 2011 19:26:59 -0800 (PST) Message-ID: <4EE968FF.5010604@ringerc.id.au> Date: Thu, 15 Dec 2011 11:26:55 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: David Fetter CC: Sylvain Mougenot , pgsql-jdbc@postgresql.org Subject: Re: [SQL] JDBC Statement.setQueryTimeout : is there plan to implement this? References: <4EE8AC41.2040505@ringerc.id.au> <20111214161349.GA31176@fetter.org> In-Reply-To: <20111214161349.GA31176@fetter.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.2 (-) X-Archive-Number: 201112/56 X-Sequence-Number: 22510 On 15/12/11 00:13, David Fetter wrote: > > Do we have some ideas as to what strategies the Oracle and Microsoft > SQL Server drivers do? As I recall, the MS-SQL Server ones used to > use a Timer thread, although that may have changed. Are there other > relevant drivers whose behavior we should look to? > I can't currently help with that one. Time permitting I'll see if I can grab their express editions and find out, but it's going to be hard to justify doing that on work time as I don't need this functionality, and personal time is currently insanely busy. I've popped a question up here: http://stackoverflow.com/questions/8514725/obtaining-a-java-util-timer-or-equivalent-in-a-javaee-friendly-way-that-works-on to see if I can get some broader input on the issue of portable timers. -- Craig Ringer