Re: Query with "ILIKE ALL" does not use the index - Mailing list pgsql-performance

From Tom Lane
Subject Re: Query with "ILIKE ALL" does not use the index
Date
Msg-id 17421.1532623454@sss.pgh.pa.us
Whole thread Raw
In response to Query with "ILIKE ALL" does not use the index  (Nicolas Even <neven@ztel.org>)
Responses Re: Query with "ILIKE ALL" does not use the index  (Matthew Hall <mhall@mhcomputing.net>)
Re: Query with "ILIKE ALL" does not use the index  (Nicolas Even <neven@ztel.org>)
List pgsql-performance
Nicolas Even <neven@ztel.org> writes:
> However when I run the same (as far as I understand it) query but with
> the ALL operator, the index is not used:
> explain analyze select name from totoz where name ilike all(array['%tot%']);

There's only index support for "op ANY (array)", not "op ALL (array)".

            regards, tom lane


pgsql-performance by date:

Previous
From: Nicolas Even
Date:
Subject: Query with "ILIKE ALL" does not use the index
Next
From: Matthew Hall
Date:
Subject: Re: Query with "ILIKE ALL" does not use the index