Re: VACUUM FULL and ALTER TABLE do *nothing* in 7.3.2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: VACUUM FULL and ALTER TABLE do *nothing* in 7.3.2
Дата
Msg-id 25098.1052231704@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: VACUUM FULL and ALTER TABLE do *nothing* in 7.3.2  ("SZUCS Gabor" <surrano@mailbox.hu>)
Список pgsql-sql
"SZUCS Gabor" <surrano@mailbox.hu> writes:
> Do you have any idea about an explanation? Does vacuum wait for the end of
> each and every transaction?

VACUUM FULL needs an exclusive lock on the target table.  So does ALTER
TABLE.  So yes, it will wait for any open transaction that has accessed
the table to complete.
        regards, tom lane



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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: VACUUM FULL and ALTER TABLE do *nothing* in 7.3.2
Следующее
От: "alexandre :: aldeia digital"
Дата:
Сообщение: pg_stat_activity IP address