pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Move bool parameter for vacuum_rel() to option bits.
Date: Tue, 20 Jun 2023 22:15:42 +0000
Message-ID: <E1qBjdW-002nUn-3d@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1qBjdW-002nUn-3d@gemulon.postgresql.org>
Permalink:  ../E1qBjdW-002nUn-3d@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qBjdW-002nUn-3d@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Move bool parameter for vacuum_rel() to option bits.
  In-Reply-To: <E1qBjdW-002nUn-3d@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox