Re: case sensitivity?

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Heine Ferreira <heine(dot)ferreira(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: case sensitivity?
Date: 2011-06-06 20:29:04
Message-ID: BANLkTik=bWP-PtFEy=a-cu9X002mJJvRaQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Jun 6, 2011 at 2:24 PM, Heine Ferreira <heine(dot)ferreira(at)gmail(dot)com> wrote:
> Hi
>
> I posted a similar question before. I was told that Postgres is always case
> sensitive.
> I was actually referring to text data not identifiers.
> I mean char and varchar fields.
> I basicically want to avoid using upper in comparisons.
> With some databases you can use a utf8 characterset and a unicode or win1252
> coallation.
> Has anyone tried this?
> Do you know if this will work?

Maybe the citext type would do what you want?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2011-06-06 20:29:46 Re: case sensitivity?
Previous Message Heine Ferreira 2011-06-06 20:24:45 case sensitivity?