Statement.cancel() doesn't seem to work

Поиск
Список
Период
Сортировка
От JN
Тема Statement.cancel() doesn't seem to work
Дата
Msg-id 123b6e3e-7744-4bd6-a470-59e98e1b9141@r27g2000yqn.googlegroups.com
обсуждение исходный текст
Ответы Re: Statement.cancel() doesn't seem to work  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
Hi, I'm trying to cancel a long-running statement (takes about 400
seconds) by calling PreparedStatement.cancel() from another thread,
but it's not working.  Specifically, the call to
PreparedStatement.cancel() completes normally, but the executing
statement seems to complete normally (i.e., it still takes the same
amount of time to complete, and it does not throw any exception).  The
sql being executed is a delete ("delete from qos_data where
report_time < ?").  Is PreparedStatement.cancel() not implemented?

Thanks,
Jim

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: An I/O error occured while sending to the backend.
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: Statement.cancel() doesn't seem to work