Re: Vaccuum allows read access?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Vaccuum allows read access?
Дата
Msg-id 23703.964206927@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Vaccuum allows read access?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Vaccuum allows read access?  (JanWieck@t-online.de (Jan Wieck))
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> In the current sources, analyze allows read-access.  I don't think
> vacuum allows any other access because the rows are moving in the file.

VACUUM *must* have exclusive lock.

ANALYZE actually is only a reader (AccessShareLock) and does not lock
out either reading or writing in current sources.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: About these IPC parameters
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: Geometry test broken