Re: RelationGetNumberOfBlocks called before vacuum_get_cutoffs

From: Melanie Plageman <melanieplageman(at)gmail(dot)com>
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: RelationGetNumberOfBlocks called before vacuum_get_cutoffs
Date: 2025-06-02 14:27:21
Message-ID: CAAKRu_be9RreRADKO6rn9e3OzuwtdYujzz8N4t_=QH--S9HWow@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Jun 1, 2025 at 2:23 PM Peter Geoghegan <pg(at)bowt(dot)ie> wrote:
>
> 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.

That sounds right.

> > I'll push the fix tomorrow.
>
> Cool.

Attached what I plan to push shortly.

- Melanie

Attachment Content-Type Size
Correct-heap-vacuum-boundary-state-setup-ordering.patch text/x-patch 2.3 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2025-06-02 14:30:40 Re: RelationGetNumberOfBlocks called before vacuum_get_cutoffs
Previous Message Nathan Bossart 2025-06-02 14:21:39 Re: fix notes about password encryption in pg_authid docs