pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-committers <pgsql-committers@lists.postgresql.org>
Subject: Re: pgsql: Don't consider newly inserted tuples in nbtree VACUUM.
Date: Thu, 11 Mar 2021 13:13:01 -0300
Message-ID: <20210311161301.GA14222@alvherre.pgsql> (raw)
In-Reply-To: <CAH2-WznS5S0HhjR_3CorPZHdWCz1G3tg73hjN8YiwSWP=bTQrw@mail.gmail.com>

On 2021-Mar-10, Peter Geoghegan wrote:

> On Wed, Mar 10, 2021 at 10:57 PM Michael Paquier <michael@paquier.xyz> 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"





view thread (17+ messages)  latest in thread

Message-ID: <20210311161301.GA14222@alvherre.pgsql>
Permalink:  ../20210311161301.GA14222@alvherre.pgsql/
Also on:    postgresql.org/message-id/20210311161301.GA14222@alvherre.pgsql

 · 

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: alvherre@alvh.no-ip.org, pg@bowt.ie, michael@paquier.xyz
  Subject: Re: pgsql: Don't consider newly inserted tuples in nbtree VACUUM.
  In-Reply-To: <20210311161301.GA14222@alvherre.pgsql>
  References: <CAH2-WznS5S0HhjR_3CorPZHdWCz1G3tg73hjN8YiwSWP=bTQrw@mail.gmail.com> <20210311161301.GA14222@alvherre.pgsql>

* 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