Thread: Query cancellation in JDBC

Query cancellation in JDBC

From
rsmogura
Date:
 Hi,

 I done in JDBC driver barrier preventing of execution of query until
 the cancel will not return, but future queries after cancellation are
 occasionally terminated.

 The query cancel sends following 16, 123456789, pid, key, flush, after
 this it tries to read EOF, I got and ignore exception "Connection reset"
 - probably OK, so query cancel finishes. The next query will not be
 executed until cancellation will end.

 I think problem can be in backend, it can signal process but it doesn't
 wait till signal is processed. I saw this on Windows 7.

 If you want I can only try to attach Wireshark frames.

 Kind regards,
 Radosław Smogura
 http://www.softperience.eu