agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add recovery/startup test with backup_label and missing checkpoi
Date: Mon, 13 Jul 2026 00:20:36 +0000
Message-ID: <E1wj4PU-000owW-0V@gemulon.postgresql.org> (raw)

Add recovery/startup test with backup_label and missing checkpoint segment

This test is able to trigger the following failure at the beginning of
recovery, that was not covered yet:
FATAL:  could not locate required checkpoint record at %X/%X

Note that the backup used for the node created has its pg_wal/ removed,
which is why the segment expected is missing.

Extracted from a larger patch by the same author.

Author: Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Discussion: https://postgr.es/m/CAMm1aWZ9Tv=Wrx52_2Ppw+6ULf_twRZuQm=ZWLA_a-kXWykHkQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2b8598a2b045b172a8f726ba130e9eb764dc0688

Modified Files
--------------
src/test/recovery/t/042_low_level_backup.pl | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)



Message-ID: <E1wj4PU-000owW-0V@gemulon.postgresql.org>
Permalink:  ../E1wj4PU-000owW-0V@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wj4PU-000owW-0V@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 recovery/startup test with backup_label and missing checkpoi
  In-Reply-To: <E1wj4PU-000owW-0V@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox