From: Kevin Grittner <kgrittn@ymail.com>
To: Pawel Veselov <pawel.veselov@gmail.com>
To: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: Improvements for statement cancellation
Date: Thu, 11 Apr 2013 19:32:54 -0700 (PDT)
Message-ID: <1365733974.16068.YahooMailNeo@web162906.mail.bf1.yahoo.com> (raw)
In-Reply-To: <CAMnJ+BeLWPqX2W5dse946hzAhWxPu3FUDNR6oWUhKkWAAoGkJw@mail.gmail.com>
References: <CAMnJ+BeLWPqX2W5dse946hzAhWxPu3FUDNR6oWUhKkWAAoGkJw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: kgrittn@ymail.com, pawel.veselov@gmail.com
Subject: Re: Improvements for statement cancellation
In-Reply-To: <1365733974.16068.YahooMailNeo@web162906.mail.bf1.yahoo.com>
References: <CAMnJ+BeLWPqX2W5dse946hzAhWxPu3FUDNR6oWUhKkWAAoGkJw@mail.gmail.com> <1365733974.16068.YahooMailNeo@web162906.mail.bf1.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox