Robert Treat <rtreat(at)webmd(dot)net> writes:
> ok. but my ps aux | grep postgres did label all connections as idle,
> which should be equivalent, right?
If it said "idle" and not "idle in transaction" then yes ... but make
sure your ps isn't truncating the string such that you can't see
the "in transaction" part.
regards, tom lane