Re: fix and document CLUSTER privileges

Gilles Darold <gilles@migops.com>

From: Gilles Darold <gilles@migops.com>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: Andrew Dunstan <andrew@dunslane.net>, Justin Pryzby <pryzby@telsasoft.com>, pgsql-hackers@postgresql.org, Robert Haas <robertmhaas@gmail.com>
Date: 2023-01-05T13:38:58Z
Lists: pgsql-hackers
Le 05/01/2023 à 06:12, Nathan Bossart a écrit :
> On Wed, Jan 04, 2023 at 11:27:05PM +0100, Gilles Darold wrote:
>> Got it, this is patch add_cluster_skip_messages.patch . IMHO this patch
>> should be part of this commitfest as it is directly based on this one. You
>> could create a second patch here that adds the warning message so that
>> committers can decide here if it should be applied.
> That's fine with me.  I added the warning messages in v4.


This is a bit confusing, this commitfest entry patch is also included in 
an other commitfest entry [1] into patch 
v3-0001-fix-maintain-privs.patch with some additional conditions.


Committers should be aware that this commitfest entry must be withdrawn 
if [1] is committed first.  There is no status or dependency field that 
I can use, I could move this one to "Ready for Committer" status but 
this is not exact until [1] has been committed or withdrawn.


[1] https://commitfest.postgresql.org/41/4070/


-- 
Gilles Darold




Commits

  1. Clarify documentation for CLUSTER on partitioned tables.

  2. Fix MAINTAIN privileges for toast tables and partitions.

  3. Have CLUSTER ignore partitions not owned by caller