mirror of
https://github.com/postgres/postgres.git
synced 2025-10-21 02:52:47 +03:00
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
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
/* Marker used to mask pages consistently */
|
||||
#define MASK_MARKER 0
|
||||
|
||||
extern void mask_page_lsn(Page page);
|
||||
extern void mask_page_lsn_and_checksum(Page page);
|
||||
extern void mask_page_hint_bits(Page page);
|
||||
extern void mask_unused_space(Page page);
|
||||
extern void mask_lp_flags(Page page);
|
||||
|
Reference in New Issue
Block a user