Re: ACCESS EXCLUSIVE LOCK

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: ACCESS EXCLUSIVE LOCK
Дата
Msg-id 20060302134322.GA5404@surnet.cl
обсуждение исходный текст
Ответ на ACCESS EXCLUSIVE LOCK  (seth.m.green@gmail.com)
Список pgsql-hackers
seth.m.green@gmail.com wrote:
> 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.

Is the SP executing a LOCK TABLE perchance?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Christopher Browne
Дата:
Сообщение: Re: Automatic free space map filling
Следующее
От: Andrew - Supernews
Дата:
Сообщение: Re: ACCESS EXCLUSIVE LOCK