Re: RelationGetNumberOfBlocks called before vacuum_get_cutoffs

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: RelationGetNumberOfBlocks called before vacuum_get_cutoffs
Дата
Msg-id CAH2-Wzkv6tKi0dzLTAT6g0mOLeHdvx+KtT9MeWam9SFwXpqdOA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: RelationGetNumberOfBlocks called before vacuum_get_cutoffs  (Melanie Plageman <melanieplageman@gmail.com>)
Список 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 по дате отправления: