]> granicus.if.org Git - postgresql/commit
Don't attempt to verify checksums on new pages
authorMagnus Hagander <magnus@hagander.net>
Sun, 15 Apr 2018 12:05:56 +0000 (14:05 +0200)
committerMagnus Hagander <magnus@hagander.net>
Sun, 15 Apr 2018 12:05:56 +0000 (14:05 +0200)
commit33cedf1474a356fe510d4ad32c040c968ef27307
tree9c74c9bfaf702289df4b393d1dd4a5b909665e90
parent90372729f4671ad5ad743b53a53e7ccbab92c4f8
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.
src/backend/replication/basebackup.c
src/bin/pg_verify_checksums/pg_verify_checksums.c