Re: Disabling case sensitivity

From: "Arguile" <arguile(at)lucentstudios(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Cc: "ktt" <kestutis98(at)yahoo(dot)com>
Subject: Re: Disabling case sensitivity
Date: 2002-07-11 16:33:35
Message-ID: LLENKEMIODLDJNHBEFBOEEKGFAAA.arguile@lucentstudios.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

Stephan Szabo wrote:
>
> On Thu, 11 Jul 2002, ktt wrote:
>
> >
> > That's a problem, because I building
> > a UNICODE text database and planning case insensitive
> > search.
>
> You can do case insensitive searches as long as you're
> willing to use something other than var=literal (such
> as tolower(var)=lowerliteral or tolower(var)=tolower(literal)
> or var ILIKE literal).
>

If your general search is case insensitive, remeber you can use functional
indices to improve performance.

CREATE INDEX foo ON bar( upper(qux) );

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Joe Conway 2002-07-11 17:01:33 Re: FW: FW: Linking databases.
Previous Message Stephan Szabo 2002-07-11 16:22:10 Re: Disabling case sensitivity

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2002-07-11 16:35:50 Re: How many tables can be created in one datebase?
Previous Message Andrew Sullivan 2002-07-11 16:30:12 brk() function and performance