Search Postgresql Archives

Re: What is causing 'canceling statement due to user

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

 



> JDBC *can* cancel a running statement. You just need to call cancel() 
> from another thread.
> 
> http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html#cancel()
> 
> Works great in my SQL front end.

Are you sure ? Ever tried to cancel a long running statement and see if
it is still running in the DB after you cancelled it on the JDBC side ?

Cheers,
Csaba.




[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