Re: C locale + unicode

From: John Sidney-Woollett <johnsw(at)wardbrook(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: postgres general <pgsql-general(at)postgresql(dot)org>
Subject: Re: C locale + unicode
Date: 2005-01-14 21:04:12
Message-ID: 41E833CC.5050904@wardbrook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks for the info - to the point and much appreciated!

John Sidney-Woollett

Tom Lane wrote:

> John Sidney-Woollett <johnsw(at)wardbrook(dot)com> writes:
>
>>Do upper() and lower() only work correctly for postgres v8 UTF-8 encoded
>>databases? (They don't seem to work on chars > standard ascii on my
>>7.4.6 db). Is this locale or encoding specific issue?
>
>
> Before 8.0, they don't work on multibyte characters, period. In 8.0
> they work according to your locale setting.
>
>
>>Is there likely to be a significant difference in speed between a
>>database using a UTF-8 locale and the C locale (if you don't care about
>>the small issues you detailed below)?
>
>
> I'd expect the C locale to be materially faster for text sorting.
> Don't have a number offhand.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2005-01-14 21:28:57 Re: MOVE
Previous Message Michael Fuhr 2005-01-14 20:59:28 Re: postmaster listening on specified addresses