pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Magnus Hagander <magnus@hagander.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Don't attempt to verify checksums on new pages
Date: Sun, 15 Apr 2018 12:08:16 +0000
Message-ID: <E1f7gS8-0006a8-Qa@gemulon.postgresql.org> (raw)

Don't attempt to verify checksums on new pages

Teach both base backups and pg_verify_checksums that if a page is new,
it does not have a checksum yet, so it shouldn't be verified.

Noted by Tomas Vondra, review by David Steele.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/33cedf1474a356fe510d4ad32c040c968ef27307

Modified Files
--------------
src/backend/replication/basebackup.c              | 4 +++-
src/bin/pg_verify_checksums/pg_verify_checksums.c | 4 ++++
2 files changed, 7 insertions(+), 1 deletion(-)



Message-ID: <E1f7gS8-0006a8-Qa@gemulon.postgresql.org>
Permalink:  ../E1f7gS8-0006a8-Qa@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1f7gS8-0006a8-Qa@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: magnus@hagander.net
  Subject: Re: pgsql: Don't attempt to verify checksums on new pages
  In-Reply-To: <E1f7gS8-0006a8-Qa@gemulon.postgresql.org>
  References: <E1f7gS8-0006a8-Qa@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