Re: Table locks

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Table locks
Дата
Msg-id 200010091743.NAA11909@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Table locks  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Table locks  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I want to write an admin utility that will view backend SQL queries, and
be able to view locks and statistics using gdb on the running backend.

> "Dale Anderson" <danderso@crystalsugar.com> writes:
> >     Is there any way to view the locks being held on a table??
>
> There is not any good way --- lock.c has a routine called DumpAllLocks,
> but it's not even compiled by default, let alone connected up to any
> reasonable calling method.  I've been thinking for awhile that we
> desperately need some simple way of dumping out the state of the lock
> manager...
>
>             regards, tom lane
>


--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Fw: Referencial integrity when there are timestamp primary keys
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Access to PGSQL