pg_locks with users

From: "alexandre:"(at)smtp2(dot)netsite(dot)com(dot)br:aldeia digital <alepaes(at)aldeiadigital(dot)com(dot)br>
To: pgsql-general(at)postgresql(dot)org
Subject: pg_locks with users
Date: 2004-09-15 15:41:17
Message-ID: 4148629D.7010908@aldeiadigital.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

My Database have a lot of locks not granteds during a day.
I want to returns this from pg_locks:

All the not granted locks (user and table) and who is locking.
Like:

User Granted Table PID
---- ------- ----- ---
Joe f foo 1212
frank f foo 4444
jeff t foo 3333
ann f bla 2121
frank t bla 4444
(...)

Thanks for any help.

Alexandre

Browse pgsql-general by date

  From Date Subject
Next Message Jeffrey W. Baker 2004-09-15 16:11:37 Re: disk performance benchmarks
Previous Message David Fetter 2004-09-15 15:24:09 Re: Spacing in output