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