Skip to content
RED SAG Skills
medium10 pts · first answer countstransactionsconnectionsapplication

Connections stuck idle in transaction

pg_stat_activity shows many app sessions in "idle in transaction" holding locks. The code runs BEGIN, then on an exception it logs and returns the connection to the pool. What is the fix?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions