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(at)svana(dot)org> http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.
In response to
Responses
pgsql-hackers by date
| Next: | From: Jeff Davis | Date: 2008-06-02 17:56:32 |
| Subject: Re: Case-Insensitve Text Comparison |
| Previous: | From: Tommy Gildseth | Date: 2008-06-02 17:44:12 |
| Subject: Re: Add dblink function to check if a named connection
exists |