on a project, i find myself continually finding the database locked up with "idle in transaction" connections
are there any commands that will allow me to check exactly what was going on in that transaction ?
i couldn't find anything in the docs, and the project has decent traffic, so its going to be an issue to log all statements so I can sift through the data by PID