Re: ExclusiveLock without a relation in pg_locks

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: ExclusiveLock without a relation in pg_locks
Дата
Msg-id 20060223180851.GA43438@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: ExclusiveLock without a relation in pg_locks  ("Carlos Oliva" <carlos@pbsinet.com>)
Ответы Re: ExclusiveLock without a relation in pg_locks  ("Carlos Oliva" <carlos@pbsinet.com>)
Список pgsql-general
On Thu, Feb 23, 2006 at 11:08:07AM -0500, Carlos Oliva wrote:
> Thank you very much for your answer.  I think that I am seeing those self
> transaction id locks as "ExclusiveLocks"
>
> Would you expect to see an "ExclusiveLock" with a query of type Select (not
> Select Update or Update or Insert)?

Not in general, unless perhaps the select called a function that
acquired such a lock.  The Concurrency Control chapter in the
documentation has a section on lock types and the commands that
acquire them:

http://www.postgresql.org/docs/8.1/interactive/explicit-locking.html

Are you just curious or are you seeing such a situation?

--
Michael Fuhr

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

Предыдущее
От: "Jon Cruz"
Дата:
Сообщение: Limitations : Number of ...
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: Limitations : Number of ...