Re: amcheck: support for GiST - Mailing list pgsql-hackers

From shihao zhong
Subject Re: amcheck: support for GiST
Date
Msg-id CAGRkXqR7ApwgQFdv6uvA4WBd4sL0k_G4Aer9Z4gVxpHa28RK=A@mail.gmail.com
Whole thread
In response to Re: amcheck: support for GiST  (Nikolay Samokhvalov <nik@postgres.ai>)
List pgsql-hackers
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
Attachment

pgsql-hackers by date:

Previous
From: Viktor Holmberg
Date:
Subject: Re: ON CONFLICT DO SELECT returns rows hidden by a view
Next
From: Zsolt Parragi
Date:
Subject: Re: ON CONFLICT DO SELECT returns rows hidden by a view