Re: CLUSTER on partitioned index - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: CLUSTER on partitioned index
Date
Msg-id Ylc8gFvm6eWnsHEh@paquier.xyz
Whole thread Raw
In response to Re: CLUSTER on partitioned index  (Justin Pryzby <pryzby@telsasoft.com>)
List 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

Attachment

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: typos
Next
From: chap@anastigmatix.net
Date:
Subject: Re: timezones BCE