Re: [JDBC] ERROR: canceling query due to user request

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: [JDBC] ERROR: canceling query due to user request
Дата
Msg-id s3293d84.063@gwmta.wicourts.gov
обсуждение исходный текст
Список pgsql-admin
One more thought on the topic -- in the particular case where we hit
this, the Statement did not have any requests active on its connection.
If the driver can determine this, it could return from the cancel method
without doing anything.

-Kevin


>>> Oliver Jowett <oliver@opencloud.com> 09/13/05 6:00 PM >>>
Tom Lane wrote:

> This has been discussed before (try the pgsql-jdbc list archives).
> I believe we concluded that an appropriate fix was to not consider the
> cancel request "done" until the client sees the separate connection
> dropped by the postmaster.  libpq's cancel functions wait for that to
> happen, and I thought that JDBC had been fixed as well --- maybe you are
> using an old driver version?

I thought this got done too, but looking at the current JDBC driver code
 I don't see it..

-O


В списке pgsql-admin по дате отправления:

Предыдущее
От: Bradley Kieser
Дата:
Сообщение: Re: PSQL in a script
Следующее
От: Warren Snelling
Дата:
Сообщение: 7.4 <-> 8.0