Re: How can I stop a long running query - Mailing list pgsql-jdbc

From Barry Lind
Subject Re: How can I stop a long running query
Date
Msg-id 3D174BFE.8080904@xythos.com
Whole thread Raw
In response to How can I stop a long running query  ("Angelo Misto'" <misto@merate.mi.astro.it>)
List pgsql-jdbc
Angelo,

What do you mean by 'running in background'?  Cancel just aborts the
current query, the process and connection are still available for
additional queries.

--Barry

Angelo Misto' wrote:

> I'm using Postgesql 7.1 and the jdbc driver jdbc7.1-1.1
> to talk to the database from java/swing application (jdk1.3.1) I
>
>How can I stop a long running query?
>The method cancel of class Statement seems working well,
>but if I look the process status I see a postmaster process
>running in background.
>
>Thank you,
>Angelo.
>
>
>





pgsql-jdbc by date:

Previous
From: Eduardo Spremolla
Date:
Subject: Re: JDBC Encoding
Next
From: tony
Date:
Subject: Re: How can I stop a long running query