Re: Case insensitive collation - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: Case insensitive collation
Date
Msg-id kdbidk$jhr$1@ger.gmane.org
Whole thread Raw
In response to Re: Case insensitive collation  (Marcel van Pinxteren <marcel.van.pinxteren@gmail.com>)
List pgsql-general
Marcel van Pinxteren, 18.01.2013 14:13:
> Desired behaviour:
> 1. If there is a row with 'ABC' (in a unique column) in the table, a row with 'abc' should not be allowed

That's an easy one:

create unique index on foo (lower(the_column));



pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: Case insensitive collation
Next
From: Igor Neyman
Date:
Subject: Re: speeding up a join query that utilizes a view