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

From Robert Haas
Subject Re: [Patch] ALTER SYSTEM READ ONLY
Date
Msg-id CA+Tgmob_i=LnQEWw6dYaoGFc=nFrGQTZX05nK4ALzz-vOybtdA@mail.gmail.com
Whole thread Raw
In response to Re: [Patch] ALTER SYSTEM READ ONLY  ("Bossart, Nathan" <bossartn@amazon.com>)
Responses Re: [Patch] ALTER SYSTEM READ ONLY  ("Bossart, Nathan" <bossartn@amazon.com>)
List pgsql-hackers
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.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: pg_dump versus ancient server versions
Next
From: Yura Sokolov
Date:
Subject: Re: XTS cipher mode for cluster file encryption