]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add recovery/startup test with backup_label and missing checkpoint segment
authorMichael Paquier <michael@paquier.xyz>
Mon, 13 Jul 2026 00:19:20 +0000 (09:19 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 13 Jul 2026 00:19:20 +0000 (09:19 +0900)
commit2b8598a2b045b172a8f726ba130e9eb764dc0688
treebe249a1863402d000e01d84496df588f90885804
parent1c4b1de888559a47df599dcef356ea7fbf96fd0c
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
src/test/recovery/t/042_low_level_backup.pl