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

From Daniel Gustafsson
Subject Re: remove redundant memset() call
Date
Msg-id BC88E003-7C17-4F95-838B-BA513B2C0ECD@yesql.se
Whole thread Raw
In response to Re: remove redundant memset() call  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
> On 13 Oct 2022, at 21:59, Bruce Momjian <bruce@momjian.us> wrote:
>
> On Thu, Oct 13, 2022 at 09:40:42PM +0200, Daniel Gustafsson wrote:
>>> On 13 Oct 2022, at 21:18, Nathan Bossart <nathandbossart@gmail.com> wrote:
>>>
>>> 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.
>>
>> Agreed, it looks like I missed that one, I can't see any reason to keep it. Do
>> you want me to take care of it Bruce, and clean up after myself, or are you
>> already on it?
>
> You can do it, thanks.

Done now.

--
Daniel Gustafsson        https://vmware.com/




pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Incorrect comment regarding command completion tags
Next
From: Bruce Momjian
Date:
Subject: Re: New docs chapter on Transaction Management and related changes