Re: Improvements for statement cancellation

From: Kevin Grittner <kgrittn(at)ymail(dot)com>
To: Pawel Veselov <pawel(dot)veselov(at)gmail(dot)com>, "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Improvements for statement cancellation
Date: 2013-04-12 02:32:54
Message-ID: 1365733974.16068.YahooMailNeo@web162906.mail.bf1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Pawel Veselov <pawel(dot)veselov(at)gmail(dot)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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Florent Guillaume 2013-04-12 10:21:44 Re: Improvements for statement cancellation
Previous Message Valentine Gogichashvili 2013-04-12 01:40:01 Re: type cache info fix