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: Julien Rouhaud <rjuju123(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: using an end-of-recovery record in all cases
Date: 2022-04-19 12:30:26
Message-ID: CA+TgmoaioFgonZPyT+47UipRKMQMgmQ43a=Kh0sJj1=MTmS9Zg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Apr 18, 2022 at 11:56 PM Amul Sul <sulamul(at)gmail(dot)com> wrote:
> I think RequestCheckpoint() should be called conditionally. What is the need
> of the checkpoint if we haven't been through the recovery, in other words,
> starting up from a clean shutdown?

Good point. v5 attached.

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

Attachment Content-Type Size
v5-0001-Remove-the-end-of-recovery-checkpoint-in-all-case.patch application/octet-stream 19.5 KB
v5-0002-Remove-previous-timeline-ID-from-checkpoint.patch application/octet-stream 14.1 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2022-04-19 12:35:57 Re: Patch a potential memory leak in describeOneTableDetails()
Previous Message Tomas Vondra 2022-04-19 12:00:25 Re: postgres_fdw: batch inserts vs. before row triggers