Answers for "postgres check idle transaction"

0

postgres check idle transaction

select * 
from pg_stat_activity
where (state = 'idle in transaction')
    and xact_start is not null;
Posted by: Guest on April-01-2021

Browse Popular Code Answers by Language