Re: POC: converting Lists into arrays

From: Oleksandr Shulgin <oleksandr(dot)shulgin(at)zalando(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: jesper(dot)pedersen(at)redhat(dot)com, David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: POC: converting Lists into arrays
Date: 2019-07-03 07:29:32
Message-ID: CACACo5TL611A_BBmAXCSq5t8LjvkmipMzJo+7ejTo9b937Xoqg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jul 2, 2019 at 5:12 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Oleksandr Shulgin <oleksandr(dot)shulgin(at)zalando(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2019-07-03 07:34:03 Re: Run-time pruning for ModifyTable
Previous Message Michael Paquier 2019-07-03 07:11:31 Re: TopoSort() fix