Statement.cancel() doesn't seem to work - Mailing list pgsql-jdbc

From JN
Subject Statement.cancel() doesn't seem to work
Date
Msg-id 123b6e3e-7744-4bd6-a470-59e98e1b9141@r27g2000yqn.googlegroups.com
Whole thread Raw
Responses Re: Statement.cancel() doesn't seem to work  (Oliver Jowett <oliver@opencloud.com>)
List 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 by date:

Previous
From: Craig Ringer
Date:
Subject: Re: An I/O error occured while sending to the backend.
Next
From: Oliver Jowett
Date:
Subject: Re: Statement.cancel() doesn't seem to work