“statement_timeout”看起来像你想要的.
原文链接:/postgresql/191747.htmlSET statement_timeout TO 1000; -- for a second <your_query_here>; RESET statement_timeout; -- reset