Re: pg_locks "at-a-glance" view

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pg_locks "at-a-glance" view
Дата
Msg-id 20080619161143.GX5077@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: pg_locks "at-a-glance" view  (Decibel! <decibel@decibel.org>)
Список pgsql-general
Decibel! escribió:

> Yeah, if you look at the code, locks are defined as numbers and I
> believe there's a very simple patter of what conflicts; a higher lock
> number conflicts with all those that are lower. So, it might be a lot
> cleaner to have a function that defines numbers for all the lock modes
> and just test to see if one lock is higher than another.

This is not always the case.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Decibel!
Дата:
Сообщение: Re: pg_locks "at-a-glance" view
Следующее
От: "Brijesh Shrivastav"
Дата:
Сообщение: Error compiling postgresql UDT in visual studio 2008