Re: CLUSTER on partitioned index

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: CLUSTER on partitioned index
Дата
Msg-id Ylc8gFvm6eWnsHEh@paquier.xyz
обсуждение исходный текст
Ответ на Re: CLUSTER on partitioned index  (Justin Pryzby <pryzby@telsasoft.com>)
Список pgsql-hackers
On Wed, Apr 13, 2022 at 05:52:14AM -0500, Justin Pryzby wrote:
> Are you sure?  The ownership re-check in cluster_rel() occurs after acquiring
> locks.

Yep, you are right.  However, the SQL test does not check for this
blocking scenario.  In short, removing the new ACL check in
get_tables_to_cluster_partitioned() makes the test behave the same
way.  Could you implement an isolation check to make sure that the
difference is visible?  The SQL check looks useful in itself, either
way.
--
Michael

Вложения

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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: typos
Следующее
От: chap@anastigmatix.net
Дата:
Сообщение: Re: timezones BCE