Re: Background writer and checkpointer in crash recovery - Mailing list pgsql-hackers

From Amul Sul
Subject Re: Background writer and checkpointer in crash recovery
Date
Msg-id CAAJ_b97OurqpvkXOWvk=TMOKhvjiiggWocoFjaXZj=qOJSD5tQ@mail.gmail.com
Whole thread Raw
In response to Re: Background writer and checkpointer in crash recovery  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Background writer and checkpointer in crash recovery  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Mon, Aug 2, 2021 at 6:47 PM Robert Haas <robertmhaas@gmail.com> wrote:
>
> On Mon, Aug 2, 2021 at 1:37 AM Thomas Munro <thomas.munro@gmail.com> wrote:
> > I pushed 0001.
>
> That's great. I just realized that this leaves us with identical
> RequestCheckpoint() calls in two nearby places. Is there any reason
> not to further simplify as in the attached?
>
+1, also, can we just get rid off "promoted" flag? The only
inconvenience is we might need to check three flags instead of one to
perform the checkpoint at the end.



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Background writer and checkpointer in crash recovery
Next
From: Jakub Wartak
Date:
Subject: RE: Background writer and checkpointer in crash recovery