Re: Add IS_INDEX macro to brin and gist index

From: Japin Li <japinli(at)hotmail(dot)com>
To: Kirill Reshke <reshkekirill(at)gmail(dot)com>
Cc: Andreas Karlsson <andreas(at)proxel(dot)se>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Add IS_INDEX macro to brin and gist index
Date: 2026-01-14 15:35:53
Message-ID: SYAPR01MB303829A12113E4B70C06A8F8B68FA@SYAPR01MB3038.ausprd01.prod.outlook.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 14 Jan 2026 at 23:31, Japin Li <japinli(at)hotmail(dot)com> wrote:
> On Wed, 14 Jan 2026 at 20:07, Kirill Reshke <reshkekirill(at)gmail(dot)com> wrote:
>> On Wed, 14 Jan 2026 at 19:55, Japin Li <japinli(at)hotmail(dot)com> wrote:
>>>
>>>
>>> Or we could address it in this thread if you prefer. What do you think?
>>>
>>
>> As you wish - we can continue here, because this is a separate change
>> which has its independent value.
>>
>
> Attach the v2 patch.
>
> 1. Move the IS_INDEX macro to pageinspect.h
> 2. Check relation kind for both brin and gist index
>

Sorry about that — I uploaded the wrong patch by mistake.
Here's v3 attached. Thanks for your patience!

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

Attachment Content-Type Size
v3-0001-Add-IS_INDEX-macro-to-brin-and-gist-index.patch text/x-patch 4.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-01-14 15:38:00 Re: Segmentation fault on proc exit after dshash_find_or_insert
Previous Message Henson Choi 2026-01-14 15:31:32 Re: Row pattern recognition