Re: Orphan page in _bt_split

Поиск
Список
Период
Сортировка
От Konstantin Knizhnik
Тема Re: Orphan page in _bt_split
Дата
Msg-id 273d89f1-d2d6-4732-ad11-b1379a49680f@garret.ru
обсуждение исходный текст
Ответ на Re: Orphan page in _bt_split  (Peter Geoghegan <pg@bowt.ie>)
Ответы Re: Orphan page in _bt_split
Список pgsql-hackers


On 13/09/2025 10:10 PM, Peter Geoghegan wrote:
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.


Attached please find updated version of the patch which uses PGAlignedBlock instead of PageGetTempPage.  

Вложения

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