Re: POC: converting Lists into arrays - Mailing list pgsql-hackers

From Tom Lane
Subject Re: POC: converting Lists into arrays
Date
Msg-id 11757.1562080324@sss.pgh.pa.us
Whole thread Raw
In response to Re: POC: converting Lists into arrays  (Oleksandr Shulgin <oleksandr.shulgin@zalando.de>)
Responses Re: POC: converting Lists into arrays  (Oleksandr Shulgin <oleksandr.shulgin@zalando.de>)
List pgsql-hackers
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.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Implement uuid_version()
Next
From: Tom Lane
Date:
Subject: Re: TopoSort() fix