Re: Get info about the index

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Igor Korot <ikorot01(at)gmail(dot)com>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: David Barbour <david(dot)barbour(at)amiralearning(dot)com>, Jon Zeppieri <zeppieri(at)gmail(dot)com>, Christophe Pettus <xof(at)thebuild(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Get info about the index
Date: 2025-08-02 00:13:32
Message-ID: ed4a1e4f-c601-4ce1-a45e-a65547c5e286@aklaver.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 8/1/25 17:06, Igor Korot wrote:
> Hi, Laurenz,

>
> I'm looking at the pg_index table and I see it has:
>
> [quote]
> indisexclusion bool
>
> If true, this index supports an exclusion constraint
> [/quote]
>
> If I read the docs correctly, this field indicates whether the
> WHERE condition is actually present.
>
> Am I right?

No, it refers to:

https://www.postgresql.org/docs/current/ddl-constraints.html#DDL-CONSTRAINTS-EXCLUSION

>
> Thank you.
>
>>
>> Yours,
>> Laurenz Albe

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jon Zeppieri 2025-08-02 00:27:38 Re: Get info about the index
Previous Message Igor Korot 2025-08-02 00:06:13 Re: Get info about the index