“statement_timeout”看起来像你想要的.
SET statement_timeout TO 1000; -- for a second <your_query_here>; RESET statement_timeout; -- reset
SET statement_timeout TO 1000; -- for a second <your_query_here>; RESET statement_timeout; -- reset