>> "Waiting for lock" is strange naming though, I would expect it more like >> "Idle" or "Idle in transaction", as I would imagine waiting for lock a >> contention event, and I doubt it's the case, but I am not PostgreSQL expert >> here. > >Same for me (being a non-expert). >f you have a specific proposal: please share it!
Yep there's a bug with latest PG versions, my colleague (our DBA) have a fix: https://github.com/munin-monitoring/munin/pull/1161

