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 ADDAA5E40BA for ; Tue, 7 Sep 2004 15:46:58 +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 25080-07 for ; Tue, 7 Sep 2004 14:46:56 +0000 (GMT) Received: from web41113.mail.yahoo.com (web41113.mail.yahoo.com [66.218.93.29]) by svr1.postgresql.org (Postfix) with SMTP id 982A55E4813 for ; Tue, 7 Sep 2004 15:46:49 +0100 (BST) Message-ID: <20040907144656.66586.qmail@web41113.mail.yahoo.com> Received: from [61.25.53.100] by web41113.mail.yahoo.com via HTTP; Tue, 07 Sep 2004 07:46:56 PDT Date: Tue, 7 Sep 2004 07:46:56 -0700 (PDT) From: Mr Pink Subject: Re: ERROR: canceling query due to user request To: Tore Halset , pgsql-general@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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/259 X-Sequence-Number: 65465 Hi, We were getting that problem on an old, low spec server that we know has memory problems. The error message occured only on larger jobs, such as restoring a large table. IIRC, I got the same problem last year after messing around with postgres config parameters, probably also a memory issue since it went away when I reset my parameters to more reasonable settings. The server log may have some information. I hope this gives you some clue as to where to start looking for your problem. regards Mr Pink --- 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? > > Regards, > - Tore. > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faqs/FAQ.html > __________________________________ Do you Yahoo!? Y! Messenger - Communicate in real time. Download now. http://messenger.yahoo.com