Re: BUG #15948: TRGM gin index is not be taken into account when using like all (array)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #15948: TRGM gin index is not be taken into account when using like all (array)
Дата
Msg-id 22763.1565566888@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #15948: TRGM gin index is not be taken into account when using like all (array)  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> -- Now try to query all record which contain "36dedd" AND "4e45f"
> -- Using LIKE ALL, a seq scan is used which is very expensive
> explain analyze
> select * from mytable where mytext like all (array['%36dedd%','%4e45f%']);

This is not a bug.  At most it's an unimplemented feature ...
one I can't get very excited about, considering how little
use there is for such queries.

            regards, tom lane



В списке pgsql-bugs по дате отправления:

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15948: TRGM gin index is not be taken into account when using like all (array)
Следующее
От: Noah Misch
Дата:
Сообщение: Re: BUG #15695: Failure to restore a dump, ERROR: operator does notexist: public.hstore = public.hstore