Re: What is causing 'canceling statement due to user - Mailing list pgsql-general

From Csaba Nagy
Subject Re: What is causing 'canceling statement due to user
Date
Msg-id 1161936796.32342.155.camel@coppola.muc.ecircle.de
Whole thread Raw
In response to Re: What is causing 'canceling statement due to user request' ?  (Thomas Kellerer <spam_eater@gmx.net>)
Responses Re: What is causing 'canceling statement due to user
List pgsql-general
> JDBC *can* cancel a running statement. You just need to call cancel()
> from another thread.
>
> http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html#cancel()
>
> Works great in my SQL front end.

Are you sure ? Ever tried to cancel a long running statement and see if
it is still running in the DB after you cancelled it on the JDBC side ?

Cheers,
Csaba.



pgsql-general by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: Replicating changes
Next
From: Alvaro Herrera
Date:
Subject: Re: Mailing list problem?