Tim Uckun <timuc...@gmail.com> writes: > Is there a way to tell postgres to stop any query that runs longer > than a specified amount of time? Say an hour?
Setting statement_timeout would do that. You ought to figure out what's causing the performance problem, though, instead of just zapping things ... regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general