Re: using an end-of-recovery record in all cases

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Amul Sul <sulamul(at)gmail(dot)com>
Cc: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: using an end-of-recovery record in all cases
Date: 2021-10-05 15:34:11
Message-ID: CA+TgmoYj9+XzM-tkgrKaTsRhxmgB7z7oyhONDCzNnKqk86Rxjw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Oct 5, 2021 at 7:44 AM Amul Sul <sulamul(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Guillaume FOREAU 2021-10-05 15:41:39 Add -java RPM generation to GDAL in pgrpms - p1
Previous Message Fujii Masao 2021-10-05 15:18:27 Re: corruption of WAL page header is never reported