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 18:47:49 -0300
Message-ID: <20210311214749.GA13835@alvherre.pgsql> (raw)
In-Reply-To: <CAH2-Wz=TVSLTJLxtJ+od5vFn8abNwsc3b__oNDHBX8fZ3+FPaQ@mail.gmail.com>
On 2021-Mar-11, Peter Geoghegan wrote:
> On Thu, Mar 11, 2021 at 12:39 PM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
> > Given the short life of recheck_on_update I don't think we should
> > consider it a precedent.
>
> Now we have a useful precedent. Apparently there is no way to truly
> remove a storage parameter.
Well, if anybody would write this code:
> > [...] It would be slightly better to ignore it on input (ie. make
> > ALTER TABLE SET a no-op for that case), but I don't think we have
> > code to do that.
>
> That would be better, certainly.
then we could wait until the last release that supported the parameter
goes out of support. (So if we had decided to keep recheck_on_update in
pg11, we could remove it in pg17).
> That seems a little annoying, but not worth spending too much time on.
I guess it'd require that somebody is sufficiently annoyed about the few
lines that supporting a no-op reloption requires. Considering that we
haven't even got the code to release HEAP_MOVED_IN/HEAP_MOVED_OFF, which
has been theoretically possible for ages, I'm not holding my breath.
--
Álvaro Herrera Valdivia, Chile
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: <20210311214749.GA13835@alvherre.pgsql>
References: <CAH2-Wz=TVSLTJLxtJ+od5vFn8abNwsc3b__oNDHBX8fZ3+FPaQ@mail.gmail.com> <20210311214749.GA13835@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