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: Improve FATAL message for invalid TLI history at recovery
Date: Wed, 26 Feb 2025 05:27:22 +0000
Message-ID: <E1tn9x3-0007tE-1t@gemulon.postgresql.org> (raw)

Improve FATAL message for invalid TLI history at recovery

The original message did not mention where the checkpoint record LSN was
found, a control file or a backup_label file.  A couple of LOG messages
are generated before this FATAL check is reached, providing more details
about the way recovery is set up.  However, knowing this information in
this specific message is useful for debugging.  This is also useful for
instances where log_min_messages is set to FATAL or more, where LOG
messages do not show up.

Author: Benoit Lobréau <benoit.lobreau@dalibo.com>
Reviewed-by: David Steele <david@pgbackrest.org>
Discussion: https://postgr.es/m/4ed10bc8-5513-4d8e-8643-8abcaa08336d@dalibo.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/adc6032fa8824e7653252b02abc6a59d8b9d01a6

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



Message-ID: <E1tn9x3-0007tE-1t@gemulon.postgresql.org>
Permalink:  ../E1tn9x3-0007tE-1t@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tn9x3-0007tE-1t@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: Improve FATAL message for invalid TLI history at recovery
  In-Reply-To: <E1tn9x3-0007tE-1t@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