Re: Interrupt execution - Mailing list pgsql-jdbc

From Barry Lind
Subject Re: Interrupt execution
Date
Msg-id 3D168A57.3000109@xythos.com
Whole thread Raw
In response to Interrupt execution  (Varun Kacholia <varunk@cse.iitb.ac.in>)
List pgsql-jdbc
Varun,

The latest sources support this via the cancel() method.

thanks,
--Barry

Varun Kacholia wrote:

> hi,
>  I using pgsql jdbc drivers to execute a particular query (web-based).
>  Many a times it happens that the query might take time and the
>  user hits "stop" .. in this case the pgsql-query still keeps running.
>  Is there any way to stop it if the user "stops" transaction?
>  Any patches/fixes/solutions for this?
>  I think this will save a lot of hasseles dealing with crank users :) .
>  thanks a lot for any help
>  BTW i am using pgsql-7.2 .
>
>





pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Interrupt execution
Next
From: "w.winter"
Date:
Subject: Re: timezone incompatibility