Re: GIN pageinspect support for entry tree and posting tree

From: Japin Li <japinli(at)hotmail(dot)com>
To: Roman Khapov <rkhapov(at)yandex-team(dot)ru>
Cc: Kirill Reshke <reshkekirill(at)gmail(dot)com>, Andrey Borodin <x4mmm(at)yandex-team(dot)ru>, Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>, Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: GIN pageinspect support for entry tree and posting tree
Date: 2026-01-14 16:52:35
Message-ID: MEAPR01MB3031729A18D11326825A7AF7B68FA@MEAPR01MB3031.ausprd01.prod.outlook.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 14 Jan 2026 at 21:12, Roman Khapov <rkhapov(at)yandex-team(dot)ru> wrote:
>> Sorry, I’m not sure I understand.
>
> Oh, my mail app replaced 'z' with 'zero', sorry..
>
>> INSERT INTO test1 VALUES (2, ARRAY[NULL, 222], ARRAY['d', NULL]);
>
> Yes, I meant that scenario, when z contains NULL.
>

I've added the test case in v16-0002. PFA.

For v16-0003, I've kept it here as well for now.
However, it may become unnecessary once [0] is committed.

[0] https://www.postgresql.org/message-id/MEAPR01MB3031A889D4B3F610E9D2A3AFB68FA@MEAPR01MB3031.ausprd01.prod.outlook.com

--
Regards,
Japin Li
ChengDu WenWu Information Technology Co., Ltd.

Attachment Content-Type Size
v16-0001-Modernize-coding-in-GIN-pageinspect-functions.patch text/x-patch 5.4 KB
v16-0002-GIN-pageinspect-support-for-entry-tree-and-posti.patch text/x-patch 31.8 KB
v16-0003-Move-IS_INDEX-macro-to-pageinspect.h.patch text/x-patch 4.0 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Previous Message Sami Imseih 2026-01-14 16:36:26 Re: [[BUG] pg_stat_statements crashes with var and non-var expressions in IN clause