Re: relfilenode statistics

From: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>, Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Kirill Reshke <reshkekirill(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: relfilenode statistics
Date: 2026-03-09 07:43:43
Message-ID: aa56L2wM16VldK5f@ip-10-97-1-34.eu-west-3.compute.internal
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Mon, Feb 23, 2026 at 06:39:03AM +0000, Bertrand Drouvot wrote:
> Hi,
>
> On Tue, Jan 13, 2026 at 09:29:02AM +0000, Bertrand Drouvot wrote:
> > Hi,
> >
> > On Tue, Dec 16, 2025 at 10:39:15AM -0500, Andres Freund wrote:
> > > On 2025-12-16 16:33:17 +0900, Michael Paquier wrote:
> >
> > Andres, Michael, let me try to sum up my understanding of the current state
> > and see how we could now move forward.
> >
> > First of all, I understand that you both think that the patch outcome will be
> > useful to have. The current debate is about the design, the current status is:
> >
> > - Andres raised specific technical/implementation concerns and I've proposed
> > solutions in [1]. It also looks like Andres supports the overall design approach.
> > - Michael is not really ok with the current design approach.
> >
> > That means, that with the current design in place, Michael would probably not
> > commit it (even after review(s)).
> >
> > Given that I'm also in favor of the current proposed design, this raises the
> > questions:
> >
> > - Andres, would you commit such a patch (after review iteration(s) of course)?
> > - Michael, if Andres is ok with the above, would you still offer your help for the
> > review part (even if the design is not what you "prefer"/"like")?
> >
> > [1]: https://postgr.es/m/aUEyzoOJtrCLAEeT%40ip-10-97-1-34.eu-west-3.compute.internal
>
> PFA, tiny rebase due to 9842e8aca09.

PFA, a new mandatory rebase.

Regards,

--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

Attachment Content-Type Size
v12-0001-Key-PGSTAT_KIND_RELATION-by-relfile-locator.patch text/x-diff 27.5 KB
v12-0002-handle-relation-statistics-correctly-during-rewr.patch text/x-diff 25.9 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2026-03-09 07:45:38 Re: [PATCH] Remove trailing period from errmsg in subscriptioncmds.c
Previous Message wenhui qiu 2026-03-09 07:38:11 Re: Convert NOT IN sublinks to anti-joins when safe