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

email - PHP mail error ... failed to open stream : permission denied -

sql server - SQL Query - Delete duplicates if more than 3 dups? -

c# 3.0 - Issue with getting 2 chars from string using indexer -