Re: remove redundant memset() call - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: remove redundant memset() call
Date
Msg-id 20221013191841.GB1563962@nathanxps13
Whole thread Raw
In response to Re: remove redundant memset() call  (Bruce Momjian <bruce@momjian.us>)
Responses Re: remove redundant memset() call
List pgsql-hackers
On Thu, Oct 13, 2022 at 03:15:13PM -0400, Bruce Momjian wrote:
> On Thu, Oct 13, 2022 at 12:12:35PM -0700, Zhihong Yu wrote:
>> the memory has been zero'ed out by palloc0().
>> 
>> memcpy is not relevant w.r.t. resetting memory.
> 
> Ah, good point.

Yeah, it looks like this was missed in ca7f8e2.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: remove redundant memset() call
Next
From: Daniel Gustafsson
Date:
Subject: Re: remove redundant memset() call