X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0425A52C97 for ; Thu, 18 Aug 2005 19:50:25 -0300 (ADT) 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 37625-10 for ; Thu, 18 Aug 2005 22:50:21 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 7AF1852DAD for ; Thu, 18 Aug 2005 19:50:18 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j7IMoFX4012192; Thu, 18 Aug 2005 18:50:15 -0400 (EDT) To: "Kevin Grittner" Cc: oliver@opencloud.com, pgsql-jdbc@postgresql.org Subject: Re: java.sql.SQLException: ERROR: canceling query due In-reply-to: References: Comments: In-reply-to "Kevin Grittner" message dated "Thu, 18 Aug 2005 17:40:32 -0500" Date: Thu, 18 Aug 2005 18:50:15 -0400 Message-ID: <12191.1124405415@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 required=5 tests=[AWL=0.006] X-Spam-Level: X-Archive-Number: 200508/130 X-Sequence-Number: 13699 "Kevin Grittner" writes: > Thanks much for the clarification. The statement_timeout setting is > commented out, with a note that it defaults to zero and that this > means it is disabled. The fact that it's commented out doesn't mean that it's not been set from elsewhere, such as a per-user default, or even a prior state of the config file. It'd be more trustworthy to connect to the server as the same user your JDBC client runs as, and do "SHOW statement_timeout". regards, tom lane