For wal_consistency_checking, mask page checksum as well as page LSN.
authorRobert Haas <rhaas@postgresql.org>
Fri, 22 Sep 2017 18:28:22 +0000 (14:28 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 22 Sep 2017 18:28:22 +0000 (14:28 -0400)
commit6a2fa09c0cba0e5a11854d733872ac18511f4c83
treeb624b88d21438c205e859d2c4d2a03f1c88a9b9a
parent7c75ef571579a3ad7a1d3ee909f11dba5e0b9440
For wal_consistency_checking, mask page checksum as well as page LSN.

If the LSN is different, the checksum will be different, too.

Ashwin Agrawal, reviewed by Michael Paquier and Kuntal Ghosh

Discussion: http://postgr.es/m/CALfoeis5iqrAU-+JAN+ZzXkpPr7+-0OAGv7QUHwFn=-wDy4o4Q@mail.gmail.com
src/backend/access/brin/brin_xlog.c
src/backend/access/common/bufmask.c
src/backend/access/gin/ginxlog.c
src/backend/access/gist/gistxlog.c
src/backend/access/hash/hash_xlog.c
src/backend/access/heap/heapam.c
src/backend/access/nbtree/nbtxlog.c
src/backend/access/spgist/spgxlog.c
src/backend/access/transam/generic_xlog.c
src/backend/commands/sequence.c
src/include/access/bufmask.h