Re: view row-level locks

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: view row-level locks
Дата
Msg-id 487718A5.8030009@archonet.com
обсуждение исходный текст
Ответ на view row-level locks  ("Michael Shulman" <shulman@mathcamp.org>)
Ответы Re: view row-level locks  (Vivek Khera <vivek@khera.org>)
Список pgsql-general
Michael Shulman wrote:
> Hi,
>
> This seems like it must be a common question, but Google can't find
> the answer for me.  How do I view the currently open row-level locks?
> The manual says that the table pg_locks doesn't contain row-level
> locks, since they are stored on disk rather than in memory, but it
> doesn't say how one can view those locks.

If you just want to see if a lock has been taken (e.g. SELECT FOR
UPDATE) then that shows in pg_locks. If you want details on the actual
rows involved, then you probably want "pgrowlocks" mentioned in Appendix
F. Additional Supplied Modules.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: "Ivan Zolotukhin"
Дата:
Сообщение: Re: storing latitude and longitude
Следующее
От: "Gábor Farkas"
Дата:
Сообщение: lc_ctype and lower()