Check out here: https://wiki.postgresql.org/wiki/Lock_Monitoring
--Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html