On 2021-Mar-10, Peter Geoghegan wrote: > On Wed, Mar 10, 2021 at 10:57 PM Michael Paquier <[email protected]> wrote: > > I think that this commit has some issues that need more thoughts. > > > > The removal of vacuum_cleanup_index_scale_factor means that any > > existing deployment of Postgres that includes at least one index using > > this parameter would fail in the middle of the restore during > > pg_upgrade, when restoring the binary dump. > > I don't believe that it's necessary. Partly because it seems rather > unlikely that vacuum_cleanup_index_scale_factor was ever set like this > in practice.
I disagree; that GUC was a feature in its own right, and it seems likely that people have set it in the hopes that it'd help them, even if it didn't actually achieve that. The GUC was added in April 2018 (pg11) and it's been possible to set it on all releases since 11.0. That's a long time. > You could have made the same arguments against removing > recheck_on_update in commit 1c53c4de. recheck_on_update was born on 11.0 and killed in time for 11.1, so its opportunity to become set was narrower. -- Álvaro Herrera 39°49'30"S 73°17'W "La victoria es para quien se atreve a estar solo"
