Re: [Patch] ALTER SYSTEM READ ONLY - Mailing list pgsql-hackers

From Bossart, Nathan
Subject Re: [Patch] ALTER SYSTEM READ ONLY
Date
Msg-id F3087976-5215-48B8-87A0-A74E563CECE7@amazon.com
Whole thread Raw
In response to Re: [Patch] ALTER SYSTEM READ ONLY  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 10/25/21, 1:33 PM, "Robert Haas" <robertmhaas@gmail.com> wrote:
> On Mon, Oct 25, 2021 at 3:14 PM Bossart, Nathan <bossartn@amazon.com> wrote:
>> My compiler is complaining about oldXLogAllowed possibly being used
>> uninitialized in CreateCheckPoint().  AFAICT it can just be initially
>> set to zero to silence this warning because it will, in fact, be
>> initialized properly when it is used.
>
> Hmm, I guess I could have foreseen that, had I been a little bit
> smarter than I am. I have committed a change to initialize it to 0 as
> you propose.

Thanks!

Nathan


pgsql-hackers by date:

Previous
From: Yura Sokolov
Date:
Subject: Re: XTS cipher mode for cluster file encryption
Next
From: "Bossart, Nathan"
Date:
Subject: Re: parallelizing the archiver