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.



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

Reply via email to