Обсуждение: pageinspect support for SpGiST

Поиск
Список
Период
Сортировка

pageinspect support for SpGiST

От
Kirill Reshke
Дата:
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

Вложения

Re: pageinspect support for SpGiST

От
Kirill Reshke
Дата:
On Sat, 10 Jan 2026 at 23:05, I wrote:
> Currently this works only for LEAF pages, Internal pages to be supported.


I have added the spgist_innerpage_items function to address that.
spgist_page_items renamed to spgist_leafpage_items

PFA v2



-- 
Best regards,
Kirill Reshke

Вложения