Hi, Rebased, v2026-09-25 attached. 0001 and 0002 are v2026-01-12-v2. 0003 is new and has my review fixes.
0001 keeps the VARSIZE_ANY() fix from da1eff08a5b. In 0003, a heapallindexed check on 2M rows now uses about 1MB instead of 300MB. A link of InvalidBlockNumber is P_NEW, so the check used to extend the index, and a root page marked as split crashed on a NULL pointer. Both are now reported as corruption. There is also a TAP test that corrupts the index file. Is a committer interested in picking this up? Regards, Shihao
v2026-09-25-0001-Move-normalize-tuple-logic-from-nbtcheck.patch
Description: Binary data
v2026-09-25-0003-amcheck-Review-fixes-for-gist_index_chec.patch
Description: Binary data
v2026-09-25-0002-Add-gist_index_check-function-to-verify-.patch
Description: Binary data
