Re: pgsql: injection_points: Add injection_points_list()

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pgsql: injection_points: Add injection_points_list()
Дата
Msg-id aHMYILre3-FgticE@paquier.xyz
обсуждение исходный текст
Ответ на Re: pgsql: injection_points: Add injection_points_list()  (Aleksander Alekseev <aleksander@tigerdata.com>)
Список pgsql-committers
On Thu, Jul 10, 2025 at 01:24:48PM +0300, Aleksander Alekseev wrote:
> In injection_points_list() isn't `memset(values, 0, sizeof(values))`
> redundant?

Yes, I'm just finding this to be a cleaner practice.

> Also perhaps we want to pfree inj_points.

This is freed with the memory context of the function, so any way is
fine IMO.
--
Michael

Вложения

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