From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
Cc: | Nathan Bossart <nathandbossart(at)gmail(dot)com>, Zhihong Yu <zyu(at)yugabyte(dot)com>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: remove redundant memset() call |
Date: | 2022-10-13 19:59:43 |
Message-ID: | Y0huL+ks7VzhZW6/@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Oct 13, 2022 at 09:40:42PM +0200, Daniel Gustafsson wrote:
> > On 13 Oct 2022, at 21:18, Nathan Bossart <nathandbossart(at)gmail(dot)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.
--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com
Indecision is a decision. Inaction is an action. Mark Batterson
From | Date | Subject | |
---|---|---|---|
Next Message | Erik Wienhold | 2022-10-13 20:07:33 | Re: Exponentiation confusion |
Previous Message | Jeff Davis | 2022-10-13 19:49:35 | Re: Lack of PageSetLSN in heap_xlog_visible |