From: Josh Berkus <josh@agliodbs.com>
To: Sam Wong <sam@hellosam.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: Index use difference betweer LIKE, LIKE ANY?
Date: Sat, 26 Feb 2011 13:13:34 -0800
Message-ID: <4D696CFE.2010107@agliodbs.com> (raw)
In-Reply-To: <01e801cbd4f0$5153d840$f3fb88c0$@hellosam.net>
References: <01e801cbd4f0$5153d840$f3fb88c0$@hellosam.net>
On 2/25/11 5:31 AM, Sam Wong wrote:
> I found that "LIKE", "= ANY (...)", "LIKE .. OR LIKE .." against a text
> field used the index correctly, but not "LIKE ANY (...)". Would that be a
> bug?
No, it would be a TODO. This is a known limitation; it needs some
clever code to make it work, and nobody's written it.
--
-- Josh Berkus
PostgreSQL Experts Inc.
http://www.pgexperts.com
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: josh@agliodbs.com, sam@hellosam.net
Subject: Re: Index use difference betweer LIKE, LIKE ANY?
In-Reply-To: <4D696CFE.2010107@agliodbs.com>
* 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