Re: Interrupt execution

From: Barry Lind <barry(at)xythos(dot)com>
To: Varun Kacholia <varunk(at)cse(dot)iitb(dot)ac(dot)in>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Interrupt execution
Date: 2002-06-24 02:56:23
Message-ID: 3D168A57.3000109@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 .
>
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2002-06-24 05:00:14 Re: Bug with binding query parameters hangs entire connection
Previous Message Timothy Reaves 2002-06-24 01:58:06 Re: Posgresql - openoffice-JDBC