Move bool parameter for vacuum_rel() to option bits.
authorNathan Bossart <[email protected]>
Tue, 20 Jun 2023 22:14:58 +0000 (15:14 -0700)
committerNathan Bossart <[email protected]>
Tue, 20 Jun 2023 22:14:58 +0000 (15:14 -0700)
commit5b1a8799431279b5f9d56c81b0d0879415e7b45c
treeef06daf72e82cde712a96f940d627f2268829e71
parent45392626c95c6345d48c1b1b7541add0102ba59f
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
src/backend/commands/analyze.c
src/backend/commands/vacuum.c
src/include/commands/vacuum.h