PostgreSQL: which transactions have been in progress for more than 10 seconds?Roland Turner 16-Oct-2008 select * from pg_stat_activity where query_start < now() – ’10 seconds’::interval;