logo       

Re: Interrupt execution: msg#00204

db.postgresql.jdbc

Subject: Re: Interrupt execution

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 .






---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise