Re: RelationGetNumberOfBlocks called before vacuum_get_cutoffs - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: RelationGetNumberOfBlocks called before vacuum_get_cutoffs
Date
Msg-id CAH2-Wzkv6tKi0dzLTAT6g0mOLeHdvx+KtT9MeWam9SFwXpqdOA@mail.gmail.com
Whole thread Raw
In response to Re: RelationGetNumberOfBlocks called before vacuum_get_cutoffs  (Melanie Plageman <melanieplageman@gmail.com>)
List pgsql-hackers
On Sun, Jun 1, 2025 at 1:51 PM Melanie Plageman
<melanieplageman@gmail.com> wrote:
> Thanks for the report. That was a dumb mistake. There was no reason
> for me to move the line up as you can see in the diff -- it must have
> been unintentional.

I have to imagine that you moved rel_pages initialization back so that
it took place next to the initialization of other, similar BlockNumber
fields from LVRelState. IIRC I wrote a comment about this issue at
least in part because I understood the temptation to do that.

> I'll push the fix tomorrow.

Cool.

--
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Melanie Plageman
Date:
Subject: Re: RelationGetNumberOfBlocks called before vacuum_get_cutoffs
Next
From: Alexander Lakhin
Date:
Subject: Re: Improving tracking/processing of buildfarm test failures