Re: Exhaustive list of what takes what locks

Поиск
Список
Период
Сортировка
От Nikolas Everett
Тема Re: Exhaustive list of what takes what locks
Дата
Msg-id AANLkTinpSW8oAr=tKB2Ahfker1a=7CCRXmmyz5cVSdFP@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Exhaustive list of what takes what locks  (Nikolas Everett <nik9000@gmail.com>)
Ответы Re: Exhaustive list of what takes what locks
Список pgsql-performance


On Wed, Feb 2, 2011 at 2:53 PM, Nikolas Everett <nik9000@gmail.com> wrote:
Given that the a list would be difficult to maintain, is there some way I can make Postgres spit out the list of what locks are taken?

--Nik

I just answered my own question -
compile with -DLOCK_DEBUG in your src/Makefile.custom and then SET TRACK_LOCKS=true when you want it.

--Nik 

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

Предыдущее
От: John Rouillard
Дата:
Сообщение: Re: Are we in the ballpark?
Следующее
От: Mladen Gogala
Дата:
Сообщение: Re: [HACKERS] Slow count(*) again...