Re: please update ps display for recovery checkpoint

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Justin Pryzby <pryzby@telsasoft.com>
Cc: "Bossart, Nathan" <bossartn@amazon.com>, Fujii Masao <masao.fujii@oss.nttdata.com>, "k.jamison@fujitsu.com" <k.jamison@fujitsu.com>, Thomas Munro <thomas.munro@gmail.com>, pgsql-hackers@postgresql.org
Date: 2020-12-14T03:52:35Z
Lists: pgsql-hackers
On Sun, Dec 13, 2020 at 09:22:24PM -0600, Justin Pryzby wrote:
> I'm not sure, but we could consider backpatching something to clear the
> "recovering NNN" that's currently displayed during checkpoint, even though
> recovery of NNN has already completed.  Possibly just calling
> set_ps_display(""); after "Real work is done".

This behavior exists for ages and there were not a lot of complaints
on this matter, so I see no reason to touch back-branches more than
necessary.
--
Michael

Commits

  1. Provide recovery_init_sync_method=syncfs.

  2. Add some checkpoint/restartpoint status to ps display