Re: Deferred constraints and locks...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Deferred constraints and locks...
Дата
Msg-id 3428.1202853609@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Deferred constraints and locks...  (Nathan Wilhelmi <wilhelmi@ucar.edu>)
Список pgsql-general
Nathan Wilhelmi <wilhelmi@ucar.edu> writes:
> Tom Lane wrote:
>> Insert statements would naturally take RowExclusiveLock, but that
>> doesn't block other DML operations.  So the question is what *else*
>> are you doing?

> Good question, is there anyway to figure out which rows are locked?

RowExclusiveLock is a table-level lock, not a lock on a specific row.
See
http://www.postgresql.org/docs/8.2/static/explicit-locking.html

            regards, tom lane

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

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: end of life for pg versions...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: deadlock while re-indexing table