Re: Emit fewer vacuum records by reaping removable tuples during pruning - Mailing list pgsql-hackers

From Melanie Plageman
Subject Re: Emit fewer vacuum records by reaping removable tuples during pruning
Date
Msg-id CAAKRu_bV3QcufwcV2+9NxJY5upwuM04WF2RhAR4aJo2RJuWr2w@mail.gmail.com
Whole thread Raw
In response to Re: Emit fewer vacuum records by reaping removable tuples during pruning  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Emit fewer vacuum records by reaping removable tuples during pruning
List pgsql-hackers
On Fri, Jan 12, 2024 at 3:22 PM Robert Haas <robertmhaas@gmail.com> wrote:
>
> On Fri, Jan 12, 2024 at 3:04 PM Melanie Plageman
> <melanieplageman@gmail.com> wrote:
>
> So what's the best way to solve the problem that Peter pointed out?
> Should we pass in the prunestate? Maybe just replace bool
> *recordfreespace with bool *has_lpdead_items?

Yea, that works for now. I mean, I think the way we should do it is
update the FSM in lazy_scan_noprune(), but, for the purposes of this
patch, yes. has_lpdead_items output parameter seems fine to me.

- Melanie



pgsql-hackers by date:

Previous
From: Jacob Burroughs
Date:
Subject: Re: libpq compression (part 3)
Next
From: Robert Haas
Date:
Subject: Re: libpq compression (part 3)