pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: james.inform@pharmapp.de
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15948: TRGM gin index is not be taken into account when using like all (array)
Date: Sun, 11 Aug 2019 19:41:28 -0400
Message-ID: <22763.1565566888@sss.pgh.pa.us> (raw)
In-Reply-To: <15948-8767af672d99063a@postgresql.org>
References: <15948-8767af672d99063a@postgresql.org>

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





view thread (3+ messages)  latest in thread

Message-ID: <22763.1565566888@sss.pgh.pa.us>
Permalink:  ../22763.1565566888@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22763.1565566888@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, james.inform@pharmapp.de
  Subject: Re: BUG #15948: TRGM gin index is not be taken into account when using like all (array)
  In-Reply-To: <22763.1565566888@sss.pgh.pa.us>
  References: <15948-8767af672d99063a@postgresql.org> <22763.1565566888@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox