Re: Lowering the ever-growing heap->pd_lower

Peter Geoghegan <pg@bowt.ie>

From: Peter Geoghegan <pg@bowt.ie>
To: Matthias van de Meent <boekewurm+postgres@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2022-03-14T18:33:57Z
Lists: pgsql-hackers
On Thu, Mar 10, 2022 at 5:49 AM Matthias van de Meent
<boekewurm+postgres@gmail.com> wrote:
> I double-checked the changes, and to me it seems like that was the
> only place in the code where PageGetMaxOffsetNumber was not handled
> correctly. This was fixed in the latest patch (v8).
>
> Peter, would you have time to further review this patch and/or commit it?

I'll definitely review it some more before too long.

-- 
Peter Geoghegan



Commits

  1. Truncate line pointer array during heap pruning.

  2. Truncate line pointer array during VACUUM.