On Fri, Jan 12, 2024 at 3:22 PM Robert Haas <robertmh...@gmail.com> wrote: > > On Fri, Jan 12, 2024 at 3:04 PM Melanie Plageman > <melanieplage...@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