On Mon, Jul 13, 2026 at 12:28 AM Jingtang Zhang <[email protected]> wrote: > > The patches are unchanged since the original posting. The fix is a > one-line correction to pass last_block + 1 as the exclusive endpoint > to FreeSpaceMapVacuumRange(), and the second patch includes a focused > test crossing an FSM leaf-page boundary. > > If the diagnosis and fix look reasonable, I would greatly appreciate > a review.
Yes, this looks like a real bug and your proposed fix is the fix. In practice, it won't affect things much -- only when the page is the first of a new FSM page. The issue was introduced in 16, so it will need to be backpatched all the way back. I'll try to get to it later this week if someone else doesn't beat me to it. - Melanie
