pg_combinebackup: Detect checksum mismatches and document limitation.
authorRobert Haas <rhaas@postgresql.org>
Thu, 25 Apr 2024 18:58:59 +0000 (14:58 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 25 Apr 2024 18:58:59 +0000 (14:58 -0400)
commit205db0114e03496f1d6febf276374900b6314e67
tree3134b6354ec1e3d4884d8a04c6f028b5e4f28e8d
parent6d4bc96eb77bca6277880f218cd7a2f9e44bddc0
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
doc/src/sgml/backup.sgml
doc/src/sgml/ref/pg_combinebackup.sgml
src/bin/pg_combinebackup/pg_combinebackup.c