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

From Tom Lane
Subject Re: BUG #15948: TRGM gin index is not be taken into account when using like all (array)
Date
Msg-id 22763.1565566888@sss.pgh.pa.us
Whole thread Raw
In response to BUG #15948: TRGM gin index is not be taken into account when using like all (array)  (PG Bug reporting form <noreply@postgresql.org>)
List 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 by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #15948: TRGM gin index is not be taken into account when using like all (array)
Next
From: Noah Misch
Date:
Subject: Re: BUG #15695: Failure to restore a dump, ERROR: operator does notexist: public.hstore = public.hstore