Re: Fix memory leak in gist_page_items() of pageinspect

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: Fix memory leak in gist_page_items() of pageinspect
Дата
Msg-id 9A53692D-2C50-43C5-8F4E-A9F1EFF0A267@yesql.se
обсуждение исходный текст
Ответ на Re: Fix memory leak in gist_page_items() of pageinspect  (Heikki Linnakangas <hlinnaka@iki.fi>)
Ответы Re: Fix memory leak in gist_page_items() of pageinspect
Список pgsql-hackers
> On 12 Dec 2025, at 11:27, Heikki Linnakangas <hlinnaka@iki.fi> wrote:

> If we're going to bother changing this at all, let's consider reusing the buffer. So instead of
initStringInfo()+pfreeon every tuple, allocate it once and use resetStringInfo(). 

+1

--
Daniel Gustafsson




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