Re: Missing free_var() at end of accum_sum_final()?

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Missing free_var() at end of accum_sum_final()?
Дата
Msg-id Y/MjdPokh30ehc4n@paquier.xyz
обсуждение исходный текст
Ответ на Re: Missing free_var() at end of accum_sum_final()?  ("Joel Jacobson" <joel@compiler.org>)
Ответы Re: Missing free_var() at end of accum_sum_final()?  ("Joel Jacobson" <joel@compiler.org>)
Список pgsql-hackers
On Sun, Feb 19, 2023 at 11:55:38PM +0100, Joel Jacobson wrote:
> To fix, a init_var() in alloc_var() is needed when we will use the
> fixed_buf instead of allocating,
> since alloc_var() could be called in a loop for existing values,
> like in sqrt_var() for instance.
>
> Attached new version produces similar benchmark results, even with the extra init_var():

Perhaps you should register this patch to the commit of March?  Here
it is:
https://commitfest.postgresql.org/42/
--
Michael

Вложения

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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: SQL/JSON revisited
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: improving user.c error messages