Re: Orphan page in _bt_split

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: Konstantin Knizhnik <knizhnik(at)garret(dot)ru>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Orphan page in _bt_split
Date: 2025-09-13 19:10:51
Message-ID: CAH2-WzmBe7URgVhVdeQmQkKPEEyv6c+FxdNic3PnOuMkT_uOeA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Sep 3, 2025 at 2:25 AM Konstantin Knizhnik <knizhnik(at)garret(dot)ru> wrote:
> Do you suggest to replace `PageGetTempPage` with using local buffers?
> Or may be change `PageGetTempPage*` to accept parameter with provided
> local buffer?

I think that _bt_split could easily be switched over to using 2 local
PGAlignedBlock variables, removing its use of PageGetTempPage. I don't
think that it is necessary to consider other PageGetTempPage callers.

--
Peter Geoghegan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2025-09-13 19:31:32 Re: Implement waiting for wal lsn replay: reloaded
Previous Message Alexander Korotkov 2025-09-13 17:59:53 Re: ICU warnings during make installcheck and text_extensions test