Re: Query with "ILIKE ALL" does not use the index

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Query with "ILIKE ALL" does not use the index
Дата
Msg-id 17421.1532623454@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Query with "ILIKE ALL" does not use the index  (Nicolas Even <neven@ztel.org>)
Ответы 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>)
Список 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 по дате отправления:

Предыдущее
От: Nicolas Even
Дата:
Сообщение: Query with "ILIKE ALL" does not use the index
Следующее
От: Matthew Hall
Дата:
Сообщение: Re: Query with "ILIKE ALL" does not use the index