Re: FW: code to cancel a running query, worker thread

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: FW: code to cancel a running query, worker thread
Дата
Msg-id 445E9B0A.4050605@opencloud.com
обсуждение исходный текст
Ответ на FW: code to cancel a running query, worker thread  ("surabhi.ahuja" <surabhi.ahuja@iiitb.ac.in>)
Список pgsql-jdbc
surabhi.ahuja wrote:

> Is the above peice of code fine, does the problem lie in the code which
> calls the executeQuery of QueryExecutor?

Really, this sounds like a threading problem in your code that you need
to solve yourself.

If you can show a testcase showing the driver doing something wrong ..
or a thread dump where a thread is stuck in the driver .. now that is
more interesting.

Otherwise it is just-another-threading-problem; I looked at your code
briefly but it is not particularly clear what its behaviour is meant to
be (i.e. it has "no obvious bugs" rather than "obviously no bugs" ;-)

-O

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

Предыдущее
От: "surabhi.ahuja"
Дата:
Сообщение: FW: code to cancel a running query, worker thread
Следующее
От: "MAIGNAN Luc"
Дата:
Сообщение: Newbie question