pgsql: Improve FATAL message for invalid TLI history at recovery - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Improve FATAL message for invalid TLI history at recovery
Date
Msg-id E1tn9x3-0007tE-1t@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Jeff Davis
Date:
Subject: pgsql: pg_dump: prepare attribute stats query.
Next
From: Amit Kapila
Date:
Subject: pgsql: Add two-phase option in pg_createsubscriber.