How to detect query which holds the lock in Postgres?
How to detect query which holds the lock in Postgres?    select pid,         usename,        ...
Tags: postgres, sql, database, tutorial