pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add more LOG messages when starting and ending recovery from a b
Date: Thu, 25 Jan 2024 08:10:15 +0000
Message-ID: <E1rSuoR-0030qw-7Z@gemulon.postgresql.org> (raw)

Add more LOG messages when starting and ending recovery from a backup

Three LOG messages are added in the recovery code paths, providing
information that can be useful to track corruption issues depending on
the state of the cluster, telling that:
- Recovery has started from a backup_label.
- Recovery is restarting from a backup start LSN, without a
backup_label.
- Recovery has completed from a backup.

Author: Andres Freund
Reviewed-by: David Steele, Laurenz Albe, Michael Paquier
Discussion: https://postgr.es/m/20231117041811.vz4vgkthwjnwp2pp@awork3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1d35f705e191581784e9df89bb69b7867ac9c342

Modified Files
--------------
src/backend/access/transam/xlogrecovery.c | 34 +++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)



view thread (3+ messages)  latest in thread

Message-ID: <E1rSuoR-0030qw-7Z@gemulon.postgresql.org>
Permalink:  ../E1rSuoR-0030qw-7Z@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rSuoR-0030qw-7Z@gemulon.postgresql.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add more LOG messages when starting and ending recovery from a b
  In-Reply-To: <E1rSuoR-0030qw-7Z@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