Provide per-table permissions for vacuum and analyze.

Andrew Dunstan <andrew@dunslane.net>

Commit: b5d6382496f2b8fc31abd92c2654a9a67aca76c6
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2022-11-28T17:08:14Z
Releases: 16.0
Provide per-table permissions for vacuum and analyze.

Currently a table can only be vacuumed or analyzed by its owner or
a superuser. This can now be extended to any user by means of an
appropriate GRANT.

Nathan Bossart

Reviewed by: Bharath Rupireddy, Kyotaro Horiguchi, Stephen Frost, Robert
Haas, Mark Dilger, Tom Lane, Corey Huinker, David G. Johnston, Michael
Paquier.

Discussion: https://postgr.es/m/20220722203735.GB3996698@nathanxps13

Files

Documentation touched

Discussion