Re: Best way to store case-insensitive data?

From: Mike Christensen <mike(at)kitchenpc(dot)com>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Best way to store case-insensitive data?
Date: 2010-06-10 21:34:25
Message-ID: AANLkTimT6jeexiW_H9To0vmahqyAuiqNwFB3MvF9kd5s@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

From this site:

http://developer.postgresql.org/pgdocs/postgres/citext.html

I couldn't tell if you still had to create an index on the lower case
value. It seems that it basically mimics the WHERE LOWER(email) =
LOWER(?) method. Since this part is incredibly performance critical,
maybe I'm better off storing my data all in lowercase and keeping the
DB case sensitive.

On Thu, Jun 10, 2010 at 2:29 PM, Mike Christensen <mike(at)kitchenpc(dot)com> wrote:
> Right now, I'm running 8.3.4 on Windows 2003, and I just used the MSI
> installer to install it.
>
> On Thu, Jun 10, 2010 at 2:18 PM, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> wrote:
>> On Thu, Jun 10, 2010 at 3:16 PM, Mike Christensen <mike(at)kitchenpc(dot)com> wrote:
>>> Where do I get info on installing this?
>>
>> Very much depends on OS and how you installed pgsql
>>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2010-06-10 21:37:58 Re: Postgresql packages in Solaris
Previous Message Andy Colson 2010-06-10 21:34:06 Re: database response slows while pg_dump is running (8.4.2)