pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Geoghegan <pg@bowt.ie>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add back vacuum_cleanup_index_scale_factor parameter.
Date: Thu, 11 Mar 2021 20:43:35 +0000
Message-ID: <E1lKS9f-0005Ea-UA@gemulon.postgresql.org> (raw)

Add back vacuum_cleanup_index_scale_factor parameter.

Commit 9f3665fb removed the vacuum_cleanup_index_scale_factor storage
parameter.  However, that creates dump/reload hazards when moving across
major versions.

Add back the vacuum_cleanup_index_scale_factor parameter (though not the
GUC of the same name) purely to avoid problems when using tools like
pg_upgrade.  The parameter remains disabled and undocumented.

No backpatch to Postgres 13, since vacuum_cleanup_index_scale_factor was
only disabled by REL_13_STABLE's version of master branch commit
9f3665fb in the first place -- the parameter already looks like this on
REL_13_STABLE.

Discussion: https://postgr.es/m/YEm/a3Ko3nKnBuVq@paquier.xyz

Branch
------
master

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

Modified Files
--------------
src/backend/access/common/reloptions.c | 9 +++++++++
src/backend/access/nbtree/nbtutils.c   | 2 ++
src/include/access/nbtree.h            | 1 +
3 files changed, 12 insertions(+)



Message-ID: <E1lKS9f-0005Ea-UA@gemulon.postgresql.org>
Permalink:  ../E1lKS9f-0005Ea-UA@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lKS9f-0005Ea-UA@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: pg@bowt.ie
  Subject: Re: pgsql: Add back vacuum_cleanup_index_scale_factor parameter.
  In-Reply-To: <E1lKS9f-0005Ea-UA@gemulon.postgresql.org>
  References: <E1lKS9f-0005Ea-UA@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