pg_locks with users

Поиск
Список
Период
Сортировка
От alexandre:"@smtp2.netsite.com.br:aldeia digital
Тема pg_locks with users
Дата
Msg-id 4148629D.7010908@aldeiadigital.com.br
обсуждение исходный текст
Список 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





В списке pgsql-general по дате отправления:

Предыдущее
От: Jerome Lyles
Дата:
Сообщение: Re: Spacing in output
Следующее
От: Matti Ärmänen
Дата:
Сообщение: Hide databases from users?