X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8F1E65E4724 for ; Tue, 7 Sep 2004 14:12:21 +0100 (BST) 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 88367-04 for ; Tue, 7 Sep 2004 13:12:19 +0000 (GMT) Received: from curry.tmsl.demon.co.uk (tmsl-adsl.demon.co.uk [80.177.114.181]) by svr1.postgresql.org (Postfix) with ESMTP id CBBAB5E46DC for ; Tue, 7 Sep 2004 14:12:14 +0100 (BST) Received: from bacon.tmsl.demon.co.uk (bacon.tmsl.demon.co.uk [192.168.7.102]) by curry.tmsl.demon.co.uk (8.11.6/8.11.6) with ESMTP id i87DBqW30924; Tue, 7 Sep 2004 14:11:52 +0100 Date: Tue, 7 Sep 2004 14:11:50 +0100 From: Paul Thomas To: Tore Halset Cc: pgsql-general@postgresql.org Subject: Re: ERROR: canceling query due to user request Message-ID: <20040907141150.J29362@bacon> References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 In-Reply-To: ; from halset@pvv.ntnu.no on Tue, Sep 07, 2004 at 12:33:52 +0100 X-Mailer: Balsa 1.2.3 Lines: 27 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/242 X-Sequence-Number: 65448 On 07/09/2004 12:33 Tore Halset wrote: > Hello. > > I am trying to port an old java application from MS SQL Server to > PostgreSQL running on Mac OS X. I have access to the java source code and > can make modifications. I have tried with PostgreSQL version 7.4.2 and > 8.0.0beta2, but get the same error. I am using pgdev.305.jdbc3.jar for > 8.0.0beta2. The PostgreSQL installation are standard, except for > log_statement = 'all' to debug this problem. > > The problem is that the server returns "ERROR: canceling query due to > user request" on some of the queries. I do not find any (other) signs of > small timeouts or that the query could be cancelled in the java client. I > have tried the queries from the psql promt, and they are all pretty fast. > Where should I start looking? Are there any more debug flags than > log_statement that should be turned on? It sounds to my like your Java app is issueing the cancel. -- Paul Thomas +------------------------------+-------------------------------------------+ | Thomas Micro Systems Limited | Software Solutions for Business | | Computer Consultants | http://www.thomas-micro-systems-ltd.co.uk | +------------------------------+-------------------------------------------+