Re: pgsql: Don't consider newly inserted tuples in nbtree VACUUM.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, pgsql-committers <pgsql-committers(at)lists(dot)postgresql(dot)org>
Subject: Re: pgsql: Don't consider newly inserted tuples in nbtree VACUUM.
Date: 2021-03-11 16:55:52
Message-ID: CAH2-WznMjP4ovFB22fAQHu4pKBBq1havPRxHpbiC_WYNya0eNQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Thu, Mar 11, 2021 at 8:13 AM Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> wrote:
> 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.

Michael was talking about the reloption, not the GUC. Surely the GUC
is not the problem here - there is plenty of precedent for removing
GUCs that were around for many releases, without considering
compatibility.

> > 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.

New reloptions are added infrequently. And they're practically never
removed. So recheck_on_update seems to be the closest thing to a
precedent.

I now accept that the dump/reload hazards when upgrading to 14 are not
acceptable. ISTM that adding back the reloption on master/Postgres 14
(without doing anything with it) is the only way to fix everything.

Any thoughts on that plan? I can do that in the next few hours if
there are no objections.

--
Peter Geoghegan

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-03-11 17:03:47 Re: pgsql: Don't consider newly inserted tuples in nbtree VACUUM.
Previous Message Peter Geoghegan 2021-03-11 16:37:47 Re: pgsql: Drop index behind pg_upgrade test issue.