Re: Yet another fast GiST build

From: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Justin Pryzby <pryzby(at)telsasoft(dot)com>, Darafei Komяpa Praliaskouski <me(at)komzpa(dot)net>, Pavel Borisov <pashkin(dot)elfe(at)gmail(dot)com>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Alexander Korotkov <a(dot)korotkov(at)postgrespro(dot)ru>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Yet another fast GiST build
Date: 2020-12-10 10:16:04
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> 9 дек. 2020 г., в 14:47, Andrey Borodin <x4mmm(at)yandex-team(dot)ru> написал(а):
>> 7 дек. 2020 г., в 23:56, Peter Geoghegan <pg(at)bowt(dot)ie> написал(а):
>> On Mon, Dec 7, 2020 at 2:05 AM Andrey Borodin <x4mmm(at)yandex-team(dot)ru> wrote:
>>> Here's version with tests and docs. I still have no idea how to print some useful information about tuples keys.
>> I suggest calling BuildIndexValueDescription() from your own custom
>> debug instrumentation code.
> Thanks for the hint, Peter!
> This function does exactly what I want to do. But I have no Relation inside gist_page_items(bytea) function... probably, I'll add gist_page_items(relname, blockno) overload to fetch keys.

PFA patch with implementation.

Best regards, Andrey Borodin.

Attachment Content-Type Size
v3-0001-Add-functions-to-pageinspect-to-inspect-GiST-inde.patch application/octet-stream 28.0 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Hou, Zhijie 2020-12-10 10:29:33 RE: Parallel Inserts in CREATE TABLE AS
Previous Message Dilip Kumar 2020-12-10 10:15:33 Re: Single transaction in the tablesync worker?