How to see what SQL queries are associated with pg_locks?

From: Aleksey Tsalolikhin <atsaloli(dot)tech(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: How to see what SQL queries are associated with pg_locks?
Date: 2010-10-01 18:27:11
Message-ID: AANLkTim++Rmk2nhx7_rrBKj_EXSd7YUcREVzZP6GYZnU@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

How to see what SQL queries are associated with pg_locks, please?

Could somebody help with the query? I can then add it to
http://wiki.postgresql.org/wiki/Lock_Monitoring

Best,
-at

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2010-10-01 18:29:29 Re: Why would a scan take so long?
Previous Message Dann Corbit 2010-10-01 18:06:23 Re: Kudos on the 64 bit PostgreSQL for Windows