ACCESS EXCLUSIVE LOCK

Поиск
Список
Период
Сортировка
От seth.m.green@gmail.com
Тема ACCESS EXCLUSIVE LOCK
Дата
Msg-id 1141257326.931828.65520@e56g2000cwe.googlegroups.com
обсуждение исходный текст
Ответы Re: ACCESS EXCLUSIVE LOCK  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: ACCESS EXCLUSIVE LOCK  ("Jim C. Nasby" <jnasby@pervasive.com>)
Список pgsql-hackers
This may be a newbie question, but according to the 7.4 docs, an ACCESS
EXCLUSIVE lock is only acquired by the ALTER TABLE, DROP TABLE,
REINDEX, CLUSTER, and VACUUM FULL commands.

However, when viewing pg_locks during the execution of a stored
procedure that does not perform any of the above commands, I see that
the table it is working on is locked by ACCESS EXCLUSIVE.

I have also tested that I can not perform a simple SELECT on the locked
table while the SP is executing.

Can anyone provide some insight?

Thanks



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

Предыдущее
От: Bernd Helmle
Дата:
Сообщение: Re: Automatic free space map filling
Следующее
От: Christopher Browne
Дата:
Сообщение: Re: Automatic free space map filling