Re: intarray GiST index gets wrong answers for '{}' <@ anything - Mailing list pgsql-hackers

From Tom Lane
Subject Re: intarray GiST index gets wrong answers for '{}' <@ anything
Date
Msg-id 2509.1565116966@sss.pgh.pa.us
Whole thread Raw
In response to Re: intarray GiST index gets wrong answers for '{}' <@ anything  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
List pgsql-hackers
Alexander Korotkov <a.korotkov@postgrespro.ru> writes:
> Users, who likes existing behavior of handling <@ operator in intarray
> opclasses, may be advised to rewrite their queries as following.

> "col <@ const" => "col <@ const AND col && const"

Oh, that's a good suggestion --- it will work, and work reasonably
well, with either unpatched or patched intarray code; and also with
some future version that doesn't consider <@ indexable at all.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Ibrar Ahmed
Date:
Subject: Re: block-level incremental backup
Next
From: Bruce Momjian
Date:
Subject: Re: [Proposal] Table-level Transparent Data Encryption (TDE) and KeyManagement Service (KMS)