postgresql/src/backend/commands
Andrew Dunstan b5d6382496 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
2022-11-28 12:08:14 -05:00
..
Makefile Move parallel vacuum code to vacuumparallel.c. 2021-12-23 11:42:52 +05:30
aggregatecmds.c Refactor aclcheck functions 2022-11-13 09:02:41 +01:00
alter.c Add a SET option to the GRANT command. 2022-11-18 12:32:56 -05:00
amcmds.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
analyze.c Provide per-table permissions for vacuum and analyze. 2022-11-28 12:08:14 -05:00
async.c Revert the addition of GetMaxBackends() and related stuff. 2022-04-12 14:45:23 -04:00
cluster.c Simplify vacuum_set_xid_limits() signature. 2022-11-23 11:10:06 -08:00
collationcmds.c Allow initdb to complete on systems without "locale" command 2022-11-17 12:12:11 +01:00
comment.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
constraint.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
conversioncmds.c Refactor aclcheck functions 2022-11-13 09:02:41 +01:00
copy.c Add support for COPY TO callback functions 2022-10-11 11:45:52 +09:00
copyfrom.c Allow batch insertion during COPY into a foreign table. 2022-10-13 18:45:00 +09:00
copyfromparse.c Fix typo in comment. 2022-08-26 16:55:00 +09:00
copyto.c Remove code handling FORCE_NULL and FORCE_NOT_NULL for COPY TO 2022-11-02 10:15:19 +09:00
createas.c In extensions, don't replace objects not belonging to the extension. 2022-08-08 11:12:31 -04:00
dbcommands.c Add a SET option to the GRANT command. 2022-11-18 12:32:56 -05:00
define.c Fix CREATE DATABASE so we can pg_upgrade DBs with OIDs above 2^31. 2022-11-04 10:39:52 -04:00
discard.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
dropcmds.c Update some more ObjectType switch statements to not have default 2022-11-17 07:12:37 +01:00
event_trigger.c Refactor ownercheck functions 2022-11-13 08:12:37 +01:00
explain.c Harmonize more parameter names in bulk. 2022-09-20 13:09:30 -07:00
extension.c Introduce variables for initial and max nesting depth on configuration files 2022-11-25 07:40:12 +09:00
foreigncmds.c Add a SET option to the GRANT command. 2022-11-18 12:32:56 -05:00
functioncmds.c Refactor aclcheck functions 2022-11-13 09:02:41 +01:00
indexcmds.c Refactor aclcheck functions 2022-11-13 09:02:41 +01:00
lockcmds.c Harmonize more parameter names in bulk. 2022-09-20 13:09:30 -07:00
matview.c Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
meson.build meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
opclasscmds.c Refactor aclcheck functions 2022-11-13 09:02:41 +01:00
operatorcmds.c Refactor aclcheck functions 2022-11-13 09:02:41 +01:00
policy.c Refactor ownercheck functions 2022-11-13 08:12:37 +01:00
portalcmds.c Remove AssertArg and AssertState 2022-10-28 09:19:06 +02:00
prepare.c Rename SetSingleFuncCall() to InitMaterializedSRF() 2022-10-18 10:22:35 +09:00
proclang.c Refactor ownercheck functions 2022-11-13 08:12:37 +01:00
publicationcmds.c Add a SET option to the GRANT command. 2022-11-18 12:32:56 -05:00
schemacmds.c Add a SET option to the GRANT command. 2022-11-18 12:32:56 -05:00
seclabel.c Allow granting SET and ALTER SYSTEM privileges on GUC parameters. 2022-04-06 13:24:33 -04:00
sequence.c In extensions, don't replace objects not belonging to the extension. 2022-08-08 11:12:31 -04:00
statscmds.c Refactor ownercheck functions 2022-11-13 08:12:37 +01:00
subscriptioncmds.c Refactor ownercheck functions 2022-11-13 08:12:37 +01:00
tablecmds.c Add a SET option to the GRANT command. 2022-11-18 12:32:56 -05:00
tablespace.c Refactor aclcheck functions 2022-11-13 09:02:41 +01:00
trigger.c Refactor aclcheck functions 2022-11-13 09:02:41 +01:00
tsearchcmds.c Use multi-inserts for pg_ts_config_map 2022-11-16 14:32:09 +09:00
typecmds.c Add a SET option to the GRANT command. 2022-11-18 12:32:56 -05:00
user.c Add a SET option to the GRANT command. 2022-11-18 12:32:56 -05:00
vacuum.c Provide per-table permissions for vacuum and analyze. 2022-11-28 12:08:14 -05:00
vacuumparallel.c Use logical operator && instead of & in vacuumparallel.c. 2022-08-22 08:53:58 +05:30
variable.c Add a SET option to the GRANT command. 2022-11-18 12:32:56 -05:00
view.c In extensions, don't replace objects not belonging to the extension. 2022-08-08 11:12:31 -04:00