pgsql: Add back vacuum_cleanup_index_scale_factor parameter.

Started by Peter Geogheganover 5 years ago1 messagescomitters
Jump to latest

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: /messages/by-id/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(+)