]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add back vacuum_cleanup_index_scale_factor parameter.
authorPeter Geoghegan <pg@bowt.ie>
Thu, 11 Mar 2021 20:42:46 +0000 (12:42 -0800)
committerPeter Geoghegan <pg@bowt.ie>
Thu, 11 Mar 2021 20:42:46 +0000 (12:42 -0800)
commiteffdd3f3b633e88feaa675377075f02ecc99aee4
treea55690b855700ef0f3276dda0e56c08eb58b396d
parent32fd2b57d7f64948e649fc205c43f007762ecaac
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
src/backend/access/common/reloptions.c
src/backend/access/nbtree/nbtutils.c
src/include/access/nbtree.h