Move bool parameter for vacuum_rel() to option bits.
Nathan Bossart <nathan@postgresql.org>
Move bool parameter for vacuum_rel() to option bits. ff9618e82a introduced the skip_privs parameter, which is used to skip privilege checks when recursing to a relation's TOAST table. This parameter should have been added as a flag bit in VacuumParams->options instead. Suggested-by: Michael Paquier Reviewed-by: Michael Paquier, Jeff Davis Discussion: https://postgr.es/m/ZIj4v1CwqlDVJZfB%40paquier.xyz
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/analyze.c | modified | +1 −1 |
| src/backend/commands/vacuum.c | modified | +19 −9 |
| src/include/commands/vacuum.h | modified | +1 −0 |
Discussion
- allow granting CLUSTER, REFRESH MATERIALIZED VIEW, and REINDEX 79 messages · 2022-12-08 → 2023-06-22