On Thu, Oct 27, 2011 at 4:42 AM, Gregg Jaskiewicz <gryzman(at)gmail(dot)com> wrote:
> What does 'select * from pg_stat_activity' say, more precisely - the
> "waiting" column.
Whether that particular process is waiting for it to be granted some
kind of database-level lock.