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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: james(dot)inform(at)pharmapp(dot)de
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15948: TRGM gin index is not be taken into account when using like all (array)
Date: 2019-08-11 23:41:28
Message-ID: 22763.1565566888@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Ashesh Vashi 2019-08-12 05:59:35 Fwd: BUG IN PGAdmin 4 using AVG function
Previous Message PG Bug reporting form 2019-08-11 23:35:06 BUG #15948: TRGM gin index is not be taken into account when using like all (array)