Re: Inconsistency in vacuum behavior

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: Inconsistency in vacuum behavior
Дата
Msg-id 20230121011235.GA10739@nathanxps13
обсуждение исходный текст
Ответ на Inconsistency in vacuum behavior  (Alexander Pyhalov <a.pyhalov@postgrespro.ru>)
Ответы Re: Inconsistency in vacuum behavior  (Nikita Malakhov <hukutoc@gmail.com>)
Список pgsql-hackers
On Mon, Jan 16, 2023 at 11:18:08AM +0300, Alexander Pyhalov wrote:
> Is it intended? Why don't we perform vacuum_is_permitted_for_relation()
> check for inheritors in expand_vacuum_rel()?

Since no lock is held on the partition, the calls to functions like
object_ownercheck() and pg_class_aclcheck() in
vacuum_is_permitted_for_relation() will produce cache lookup ERRORs if the
relation is concurrently dropped.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



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

Предыдущее
От: Ted Yu
Дата:
Сообщение: Re: bug: copy progress reporting of backends which run multiple COPYs
Следующее
От: Andres Freund
Дата:
Сообщение: libpqrcv_connect() leaks PGconn