From: Oliver Jowett <oliver@opencloud.com>
To: surabhi.ahuja <surabhi.ahuja@iiitb.ac.in>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: FW: code to cancel a running query, worker thread
Date: Mon, 08 May 2006 10:12:42 +0900
Message-ID: <445E9B0A.4050605@opencloud.com> (raw)
In-Reply-To: <8626C1B7EB748940BCDD7596134632BE398681@jal.iiitb.ac.in>
References: <8626C1B7EB748940BCDD7596134632BE398681@jal.iiitb.ac.in>
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
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: oliver@opencloud.com, surabhi.ahuja@iiitb.ac.in
Subject: Re: FW: code to cancel a running query, worker thread
In-Reply-To: <445E9B0A.4050605@opencloud.com>
References: <8626C1B7EB748940BCDD7596134632BE398681@jal.iiitb.ac.in> <445E9B0A.4050605@opencloud.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