Hi hackers!
I am currently working for amcheck & pageinspect support for SpGiST indices.
Here is a patch implementing the pageinspect part.
My current design is two functions, which are
* spgist_page_opaque_info - akin to gin/gist opaque info functions.
* spgist_page_items - function that returns information about tuples
on the SpGiST page. Currently this works only for LEAF pages, Internal
pages to be supported.
Following "Desirability -> Design -> Implement -> Test -> Review ->
Commit" developing process, posting v1 patch with PoC and looking for
Desirability/Design feedback.
PFA (WIP) v1.
--
Best regards,
Kirill Reshke