From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add some checkpoint/restartpoint status to ps display
Date: Mon, 14 Dec 2020 02:54:21 +0000
Message-ID: <E1koe0D-0007OT-Pu@gemulon.postgresql.org> (raw)
Add some checkpoint/restartpoint status to ps display
This is done for end-of-recovery and shutdown checkpoints/restartpoints
(end-of-recovery restartpoints don't exist) rather than all types of
checkpoints, in cases where it may not be possible to rely on
pg_stat_activity to get a status from the startup or checkpointer
processes.
For example, at the end of a crash recovery, this is useful to know if a
checkpoint is running in the startup process, while previously the ps
display may only show some information about "recovering" something,
that can be confusing while a checkpoint runs.
Author: Justin Pryzby
Reviewed-by: Nathan Bossart, Kirk Jamison, Fujii Masao, Michael Paquier
Discussion: https://postgr.es/m/20200818225238.GP17022@telsasoft.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/df9274adf3096feafbbde2562311c8ab80405267
Modified Files
--------------
src/backend/access/transam/xlog.c | 45 +++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz
Subject: Re: pgsql: Add some checkpoint/restartpoint status to ps display
In-Reply-To: <E1koe0D-0007OT-Pu@gemulon.postgresql.org>
References: <E1koe0D-0007OT-Pu@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox