Re: POC: converting Lists into arrays

Поиск
Список
Период
Сортировка
От Oleksandr Shulgin
Тема Re: POC: converting Lists into arrays
Дата
Msg-id CACACo5TL611A_BBmAXCSq5t8LjvkmipMzJo+7ejTo9b937Xoqg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: POC: converting Lists into arrays  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, Jul 2, 2019 at 5:12 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
Oleksandr Shulgin <oleksandr.shulgin@zalando.de> writes:
> Not related to the diff v6..v7, but shouldn't we throw additionally a
> memset() with '\0' before calling pfree():

I don't see the point of that.  In debug builds CLOBBER_FREED_MEMORY will
take care of it, and in non-debug builds I don't see why we'd expend
the cycles.

This is what I was wondering about, thanks for providing a reference.

--
Alex

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: TopoSort() fix
Следующее
От: David Rowley
Дата:
Сообщение: Re: Run-time pruning for ModifyTable