Re: allow granting CLUSTER, REFRESH MATERIALIZED VIEW, and REINDEX
Nathan Bossart <nathandbossart@gmail.com>
From: Nathan Bossart <nathandbossart@gmail.com>
To: Jeff Davis <pgsql@j-davis.com>
Cc: pgsql-hackers@postgresql.org
Date: 2022-12-12T21:01:36Z
Lists: pgsql-hackers
Attachments
- v3-0001-add-grantable-MAINTAIN-privilege.patch (text/x-diff)
On Mon, Dec 12, 2022 at 12:04:27PM -0800, Nathan Bossart wrote: > Patch attached. I ended up reverting some parts of the VACUUM/ANALYZE > patch that were no longer needed (i.e., if the user doesn't have permission > to VACUUM, we don't need to separately check whether the user has > permission to ANALYZE). Otherwise, I don't think there's anything > tremendously different between v1 and v2 besides the fact that all the > privileges are grouped together. Here is a v3 of the patch that fixes a typo in the docs. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com
Commits
-
Improve privilege documentation for maintenance commands.
- c2122aae636d 16.0 landed
-
Fix cache lookup hazards introduced by ff9618e82a.
- 4dbdb82513b6 16.0 landed
-
Move bool parameter for vacuum_rel() to option bits.
- 5b1a87994312 16.0 landed
-
Fix MAINTAIN privileges for toast tables and partitions.
- ff9618e82a46 16.0 landed
-
Add grantable MAINTAIN privilege and pg_maintain role.
- 60684dd834a2 16.0 landed