Re: Case-Insensitve Text Comparison - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: Case-Insensitve Text Comparison
Date
Msg-id 20080602175516.GF27752@svana.org
Whole thread Raw
In response to Re: Case-Insensitve Text Comparison  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: Case-Insensitve Text Comparison  (Jeff Davis <pgsql@j-davis.com>)
Re: Case-Insensitve Text Comparison  (Shane Ambler <pgsql@Sheeky.Biz>)
List pgsql-hackers
On Mon, Jun 02, 2008 at 10:29:30AM -0700, Jeff Davis wrote:
> I think if you want some special treatment of text for some users, it
> should be explicit. Text in one locale is really a different type from
> text in another locale, and so changing the locale of some text variable
> is really a typecast. I don't think GUCs are the correct mechanism for
> this.

The SQL COLLATE syntax handles this just fine. Either the original
COLLATE patch or the new one will let people tags strings with any
collation they like.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

pgsql-hackers by date:

Previous
From: Tommy Gildseth
Date:
Subject: Re: Add dblink function to check if a named connection exists
Next
From: Jeff Davis
Date:
Subject: Re: Case-Insensitve Text Comparison