| From: | Nathan Bossart <nathan(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Move bool parameter for vacuum_rel() to option bits. |
| Date: | 2023-06-20 22:15:42 |
| Message-ID: | E1qBjdW-002nUn-3d@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5b1a8799431279b5f9d56c81b0d0879415e7b45c
Modified Files
--------------
src/backend/commands/analyze.c | 2 +-
src/backend/commands/vacuum.c | 28 +++++++++++++++++++---------
src/include/commands/vacuum.h | 1 +
3 files changed, 21 insertions(+), 10 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Kapila | 2023-06-21 03:24:48 | Re: could not extend file "base/5/3501" with FileFallocate(): Interrupted system call |
| Previous Message | Tom Lane | 2023-06-20 21:48:09 | pgsql: Fix hash join when inner hashkey expressions contain Params. |