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: Add an "unset" value for vacuum_index_cleanup.
Date: Mon, 17 Aug 2026 19:42:27 +0000
Message-ID: <E1ww3E2-00000000xRr-0ZSx@gemulon.postgresql.org> (raw)

Add an "unset" value for vacuum_index_cleanup.

This commit adds a new value to StdRdOptIndexCleanup to distinguish
whether it is explicitly set, similar to ViewOptCheckOption's
VIEW_OPTION_CHECK_OPTION_NOT_SET.  This changes only the internal
representation; an unset value still defaults to AUTO, and the
option accepts the same input as before.

This is preparatory work for a follow-up commit that will make use
of the new "unset" state.

Reviewed-by: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Sami Imseih <samimseih@gmail.com>
Tested-by: Greg Burd <greg@burd.me>
Tested-by: solai v <solai.cdac@gmail.com>
Discussion: https://postgr.es/m/aFRxC1W_kZU9OjJ9%40nathan

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c66e7531e4141d5fa4accaeafaec4e7c2f638da0

Modified Files
--------------
src/backend/access/common/reloptions.c |  3 ++-
src/backend/commands/vacuum.c          | 23 ++++++++++++++---------
src/include/utils/rel.h                |  1 +
3 files changed, 17 insertions(+), 10 deletions(-)



Message-ID: <E1ww3E2-00000000xRr-0ZSx@gemulon.postgresql.org>
Permalink:  ../E1ww3E2-00000000xRr-0ZSx@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ww3E2-00000000xRr-0ZSx@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: Add an "unset" value for vacuum_index_cleanup.
  In-Reply-To: <E1ww3E2-00000000xRr-0ZSx@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