Re: using an end-of-recovery record in all cases - Mailing list pgsql-hackers

From Robert Haas
Subject Re: using an end-of-recovery record in all cases
Date
Msg-id CA+TgmoYj9+XzM-tkgrKaTsRhxmgB7z7oyhONDCzNnKqk86Rxjw@mail.gmail.com
Whole thread Raw
In response to Re: using an end-of-recovery record in all cases  (Amul Sul <sulamul@gmail.com>)
Responses Re: using an end-of-recovery record in all cases  (Amul Sul <sulamul@gmail.com>)
List pgsql-hackers
On Tue, Oct 5, 2021 at 7:44 AM Amul Sul <sulamul@gmail.com> wrote:
> I was trying to understand the v1 patch and found that at the end
> RequestCheckpoint() is called unconditionally, I think that should
> have been called if REDO had performed,

You're right. But I don't think we need an extra variable like this,
right? We can just test InRecovery?

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



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: corruption of WAL page header is never reported
Next
From: Robert Haas
Date:
Subject: Re: Fix pg_log_backend_memory_contexts() 's delay