pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Thomas <paul@tmsl.demon.co.uk>
To: Tore Halset <halset@pvv.ntnu.no>
Cc: pgsql-general@postgresql.org
Subject: Re: ERROR:  canceling query due to user request
Date: Tue, 7 Sep 2004 14:11:50 +0100
Message-ID: <20040907141150.J29362@bacon> (raw)
In-Reply-To: <CB968022-00C1-11D9-8D0A-000A95CD827E@pvv.ntnu.no>
References: <CB968022-00C1-11D9-8D0A-000A95CD827E@pvv.ntnu.no>


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



view thread (22+ messages)  latest in thread

Message-ID: <20040907141150.J29362@bacon>
Permalink:  ../20040907141150.J29362@bacon/
Also on:    postgresql.org/message-id/20040907141150.J29362@bacon

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: paul@tmsl.demon.co.uk, halset@pvv.ntnu.no, pgsql-general@postgresql.org
  Subject: Re: ERROR:  canceling query due to user request
  In-Reply-To: <20040907141150.J29362@bacon>
  References: <CB968022-00C1-11D9-8D0A-000A95CD827E@pvv.ntnu.no> <20040907141150.J29362@bacon>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox