Re: Improvements for statement cancellation - Mailing list pgsql-jdbc

From Kevin Grittner
Subject Re: Improvements for statement cancellation
Date
Msg-id 1365733974.16068.YahooMailNeo@web162906.mail.bf1.yahoo.com
Whole thread Raw
In response to Improvements for statement cancellation  (Pawel Veselov <pawel.veselov@gmail.com>)
Responses Re: Improvements for statement cancellation  (Florent Guillaume <fg@nuxeo.com>)
List pgsql-jdbc
Pawel Veselov <pawel.veselov@gmail.com> wrote:

> I'm wondering if it's possible if Postgres JDBC could change the
> implementation of cancel() so that cancelQuery() is only sent if
> the statement being called is the actual statement that is being
> executed on the connection, and otherwise be a no-op.

I wondered the same thing back in 2005:

http://www.postgresql.org/message-id/438F2DE5.EE98.0025.0@wicourts.gov

I still think that something of the sort would be a good idea.

--
Kevin Grittner
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-jdbc by date:

Previous
From: Valentine Gogichashvili
Date:
Subject: Re: type cache info fix
Next
From: Florent Guillaume
Date:
Subject: Re: Improvements for statement cancellation