Re: Orphan page in _bt_split

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Orphan page in _bt_split
Дата
Msg-id CAH2-WzmBe7URgVhVdeQmQkKPEEyv6c+FxdNic3PnOuMkT_uOeA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Orphan page in _bt_split  (Konstantin Knizhnik <knizhnik@garret.ru>)
Ответы Re: Orphan page in _bt_split
Список pgsql-hackers
On Wed, Sep 3, 2025 at 2:25 AM Konstantin Knizhnik <knizhnik@garret.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



В списке pgsql-hackers по дате отправления: