| От | Oliver Jowett |
|---|---|
| Тема | Re: [GENERAL] ERROR: canceling query due to user request |
| Дата | |
| Msg-id | 41402533.2080702@opencloud.com обсуждение исходный текст |
| Ответ на | Re: [GENERAL] ERROR: canceling query due to user request (Paul Thomas <paul@tmsl.demon.co.uk>) |
| Ответы |
Re: [GENERAL] ERROR: canceling query due to user request
|
| Список | pgsql-jdbc |
Paul Thomas wrote: > Given that statement.cancel() should only be used to cancel a running > query, I think the problem is more in your framework's misuse of > cancel() rather than in the driver itself. JDBC gives you no way to ensure you only call cancel() on a running query (there's a race between query execution returning and the call to cancel()). Calling cancel() on a statement that's not currently executing should do nothing; if it ends up cancelling a future query, it's a driver bug. -O
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера