postgresql - JDBC postgres query with a timeout -


Unfortunately the set time is not implemented for JDBC / postgres Is there a way I can simulate or solve it Can i Functionally I want to execute the query and then want to break if it takes longer than N seconds

It looks like what you want.

  SET statement_timeout to 1000; - For each other & lt; Your_query_ here & gt ;; Reset Statement- Timeout; -  
reset

Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -