pgsql: pg_combinebackup: Detect checksum mismatches and document limita

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_combinebackup: Detect checksum mismatches and document limita
Date: 2024-04-25 20:05:32
Message-ID: E1s05LX-0001zs-7D@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_combinebackup: Detect checksum mismatches and document limitation.

If not all backups have the same checksum status, but the final backup
has checksums enabled, then the output directory may include pages
with invalid checksums. Document this limitation and explain how to
work around it.

In a future release, we may want to teach pg_combinebackup to
recompute page checksums when required, but as feature freeze has come
and gone, it seems a bit too late to do that for this release.

Patch by me, reviewed by Daniel Gustafsson

Discussion: http://postgr.es/m/CA+TgmoZugzOSmgkx97u3pc0M7U8LycWvugqoyWBv6j15a4hE5g@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/205db0114e03496f1d6febf276374900b6314e67

Modified Files
--------------
doc/src/sgml/backup.sgml | 6 +++++-
doc/src/sgml/ref/pg_combinebackup.sgml | 20 ++++++++++++++++++++
src/bin/pg_combinebackup/pg_combinebackup.c | 22 ++++++++++++++++++++++
3 files changed, 47 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2024-04-26 02:20:47 Re: pgsql: psql: add an optional execution-count limit to \watch.
Previous Message Anton Voloshin 2024-04-25 18:22:49 Re: pgsql: psql: add an optional execution-count limit to \watch.