Case insensitive search - Mailing list pgsql-general

From Dragan Matic
Subject Case insensitive search
Date
Msg-id 4088E373.9050409@panforma.co.yu
Whole thread Raw
List pgsql-general
Is there a way to set up collation order to be case-insensitive?
I.E. I need to have a column c with value 'ABC' and when I do a "select
* from table where c = 'abc'" it finds the row with value 'ABC'. Yes, I
know that I can do it with "lower()" and "upper()" functions, but is
there a way to construct a database to be case-insensitive? Tnx in advance.

Dragan




pgsql-general by date:

Previous
From: Tatsuo Ishii
Date:
Subject: New replication software pgpool available
Next
From: Peter Eisentraut
Date:
Subject: Re: Unicode + LC_COLLATE