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:31:11
Message-ID: SYAPR01MB30382087FF5DEED7588AE5B3B68FA@SYAPR01MB3038.ausprd01.prod.outlook.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

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

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Henson Choi 2026-01-14 15:31:32 Re: Row pattern recognition
Previous Message Pierre Forstmann 2026-01-14 15:29:43 Re: [PATCH] check kernel version for io_method