Re: ERROR: canceling query due to user request

From: Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk>
To: Tore Halset <halset(at)pvv(dot)ntnu(dot)no>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: ERROR: canceling query due to user request
Date: 2004-09-07 13:11:50
Message-ID: 20040907141150.J29362@bacon
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc


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 |
+------------------------------+-------------------------------------------+

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alex Soto 2004-09-07 13:12:25 Re: Help supressing NOTICE messages
Previous Message Jeff 2004-09-07 12:00:57 Re: resilient transactions

Browse pgsql-jdbc by date

  From Date Subject
Next Message Mr Pink 2004-09-07 14:46:56 Re: ERROR: canceling query due to user request
Previous Message Tore Halset 2004-09-07 11:33:52 ERROR: canceling query due to user request