aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_utilcmd.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2022-11-28 11:57:28 -0500
committerAndrew Dunstan <andrew@dunslane.net>2022-11-28 12:08:14 -0500
commit4441fc704d7048b2f1f039cc74b72bd23e7e36d0 (patch)
treee355df27b24a29ad62f19f941e3b2b681a2afe62 /src/backend/parser/parse_utilcmd.c
parentb5d6382496f2b8fc31abd92c2654a9a67aca76c6 (diff)
downloadpostgresql-4441fc704d7048b2f1f039cc74b72bd23e7e36d0.tar.gz
postgresql-4441fc704d7048b2f1f039cc74b72bd23e7e36d0.zip
Provide non-superuser predefined roles for vacuum and analyze
This provides two new predefined roles: pg_vacuum_all_tables and pg_analyze_all_tables. Roles which have been granted these roles can perform vacuum or analyse respectively on any or all tables as if they were a superuser. This removes the need to grant superuser privilege to roles just so they can perform vacuum and/or analyze. 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
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions