pgsql: Don't attempt to verify checksums on new pages - Mailing list pgsql-committers

From Magnus Hagander
Subject pgsql: Don't attempt to verify checksums on new pages
Date
Msg-id E1f7gS8-0006a8-Qa@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Magnus Hagander
Date:
Subject: pgsql: Fix build of pg_verify_checksum docs
Next
From: Tom Lane
Date:
Subject: pgsql: Clean up callers of JsonbIteratorNext().