From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-sql@postgresql.org
Subject: Re: best index for ~ ordering?
Date: Wed, 7 Mar 2007 13:32:24 -0500
Message-ID: <20070307183224.GC19042@phlogiston.dyndns.org> (raw)
In-Reply-To: <22296.190.55.118.199.1173238137.squirrel@www.webmail.fmed.uba.ar>
References: <45EDDE5F.2030303@fmed.uba.ar>
<20070306222802.GA16606@phlogiston.dyndns.org>
<22296.190.55.118.199.1173238137.squirrel@www.webmail.fmed.uba.ar>
On Wed, Mar 07, 2007 at 12:28:57AM -0300, gherzig@fmed.uba.ar wrote:
> Well, im wondering if is possible using LIKE '%blah%', even better would be
> upper/lower(string) like '%blah%',
Your better bet then is either to index lower(string) or better, on
insert convert everything to lower().
A
--
Andrew Sullivan | ajs@crankycanuck.ca
The plural of anecdote is not data.
--Roger Brinner
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-sql@postgresql.org
Cc: ajs@crankycanuck.ca
Subject: Re: best index for ~ ordering?
In-Reply-To: <20070307183224.GC19042@phlogiston.dyndns.org>
* 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