Search Postgresql Archives

Query cancellation in JDBC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux