On Tue, Jul 2, 2019 at 5:12 PM Tom Lane <t...@sss.pgh.pa.us> wrote: > Oleksandr Shulgin <oleksandr.shul...@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