mirror of
https://github.com/postgres/postgres.git
synced 2025-10-22 14:32:25 +03:00
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
This commit is contained in:
@@ -191,6 +191,7 @@ typedef struct VacAttrStats
|
||||
#define VACOPT_DISABLE_PAGE_SKIPPING 0x100 /* don't skip any pages */
|
||||
#define VACOPT_SKIP_DATABASE_STATS 0x200 /* skip vac_update_datfrozenxid() */
|
||||
#define VACOPT_ONLY_DATABASE_STATS 0x400 /* only vac_update_datfrozenxid() */
|
||||
#define VACOPT_SKIP_PRIVS 0x800 /* skip privilege checks */
|
||||
|
||||
/*
|
||||
* Values used by index_cleanup and truncate params.
|
||||
|
Reference in New Issue
Block a user