Baji, > The attached 0003 adds the same check you use in bt_page_print_tuples() > to GetBTPageStatistics().
Thanks for testing this and for the fix. I folded it into 0001 and added you as a co-author. > - 0002 needs a rebase. v6 is rebased on current master. > I think they should all be DATA_CORRUPTED. v6 uses ERRCODE_DATA_CORRUPTED for all the checks this series adds. The existing errors about the page type stay as they are. Thanks, Shihao
v6-0002-pageinspect-validate-page-headers-and-BRIN-GIN-and-G.patch
Description: Binary data
v6-0001-pageinspect-validate-line-pointers-before-using-them.patch
Description: Binary data
