pgsql: pg_verifybackup: Verify tar-format backups.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_verifybackup: Verify tar-format backups.
Date: 2024-09-27 13:25:38
Message-ID: E1suAyY-001A5b-0n@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_verifybackup: Verify tar-format backups.

This also works for compressed tar-format backups. However, -n must be
used, because we use pg_waldump to verify WAL, and it doesn't yet know
how to verify WAL that is stored inside of a tarfile.

Amul Sul, reviewed by Sravan Kumar and by me, and revised by me.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8dfd3129027969fdd2d9d294220c867d2efd84aa

Modified Files
--------------
doc/src/sgml/ref/pg_verifybackup.sgml | 47 ++-
src/bin/pg_verifybackup/Makefile | 2 +
src/bin/pg_verifybackup/astreamer_verify.c | 428 +++++++++++++++++++++++++
src/bin/pg_verifybackup/meson.build | 1 +
src/bin/pg_verifybackup/pg_verifybackup.c | 433 +++++++++++++++++++++++---
src/bin/pg_verifybackup/pg_verifybackup.h | 7 +
src/bin/pg_verifybackup/t/002_algorithm.pl | 34 +-
src/bin/pg_verifybackup/t/003_corruption.pl | 77 ++++-
src/bin/pg_verifybackup/t/004_options.pl | 17 +
src/bin/pg_verifybackup/t/008_untar.pl | 71 ++---
src/bin/pg_verifybackup/t/010_client_untar.pl | 48 +--
src/fe_utils/simple_list.c | 19 ++
src/include/fe_utils/simple_list.h | 1 +
src/tools/pgindent/typedefs.list | 2 +
14 files changed, 1033 insertions(+), 154 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alexander Korotkov 2024-09-27 14:07:09 Re: pgsql: Implement pg_wal_replay_wait() stored procedure
Previous Message Michael Paquier 2024-09-27 04:57:23 Re: pgsql: Implement pg_wal_replay_wait() stored procedure