pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_combinebackup: Detect checksum mismatches and document limita
Date: Thu, 25 Apr 2024 20:05:32 +0000
Message-ID: <E1s05LX-0001zs-7D@gemulon.postgresql.org> (raw)

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(-)



view thread (2+ messages)

Message-ID: <E1s05LX-0001zs-7D@gemulon.postgresql.org>
Permalink:  ../E1s05LX-0001zs-7D@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1s05LX-0001zs-7D@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: rhaas@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: pg_combinebackup: Detect checksum mismatches and document limita
  In-Reply-To: <E1s05LX-0001zs-7D@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox