Re: How can you have an Exclusive Lock on nothing? please help me understand this lock monitoring query output

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: How can you have an Exclusive Lock on nothing? please help me understand this lock monitoring query output
Дата
Msg-id BANLkTinSc-bdN5Q-9LDy-exa23c8ayHcsQ@mail.gmail.com
обсуждение исходный текст
Ответ на How can you have an Exclusive Lock on nothing? please help me understand this lock monitoring query output  (Aleksey Tsalolikhin <atsaloli.tech@gmail.com>)
Список pgsql-general
On Fri, Apr 15, 2011 at 2:12 AM, Aleksey Tsalolikhin
<atsaloli.tech@gmail.com> wrote:

> Hi.  I use the following query (from
> http://wiki.postgresql.org/wiki/Lock_Monitoring)
> to monitor locks; and I've got an ExlusiveLock that does not have a relation
> name associated with it.  What is locked with the Exclusive Lock in this case,
> please?  (it's between "d" and "e" tables below)

Locks can be held on databases, relations, rows and also show for transactions.

So the absence of a relation name just means it is one of the other
kinds of lock.

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

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

Предыдущее
От: Basil Bourque
Дата:
Сообщение: Re: UUID can be written to row when passed as parameter/argument to a PL/pgSQL function. Feature or bug?
Следующее
От: Wim Bertels
Дата:
Сообщение: Re: function to filter out tokens (sql syntax lexical)?