mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Add WAL consistency checking facility.
When the new GUC wal_consistency_checking is set to a non-empty value, it triggers recording of additional full-page images, which are compared on the standby against the results of applying the WAL record (without regard to those full-page images). Allowable differences such as hints are masked out, and the resulting pages are compared; any difference results in a FATAL error on the standby. Kuntal Ghosh, based on earlier patches by Michael Paquier and Heikki Linnakangas. Extensively reviewed and revised by Michael Paquier and by me, with additional reviews and comments from Amit Kapila, Álvaro Herrera, Simon Riggs, and Peter Eisentraut.
This commit is contained in:
@ -774,5 +774,6 @@ extern void _bt_leafbuild(BTSpool *btspool, BTSpool *spool2);
|
||||
extern void btree_redo(XLogReaderState *record);
|
||||
extern void btree_desc(StringInfo buf, XLogReaderState *record);
|
||||
extern const char *btree_identify(uint8 info);
|
||||
extern void btree_mask(char *pagedata, BlockNumber blkno);
|
||||
|
||||
#endif /* NBTREE_H */
|
||||
|
Reference in New Issue
Block a user