Query cancellation in JDBC - Mailing list pgsql-general

From rsmogura
Subject Query cancellation in JDBC
Date
Msg-id 888e9bb6bedd76e0621704f217984086@mail.softperience.eu
Whole thread Raw
List pgsql-general
 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

pgsql-general by date:

Previous
From: Albretch Mueller
Date:
Subject: Re: Separating the ro directory of the DB engine itself from the rw data areas . . .
Next
From: Jasen Betts
Date:
Subject: Re: Moving from SQL Anywhere to PostGres - First Time