Re: database locale and system locale

From: Erwin Brandstetter <brandstetter(at)falter(dot)at>
To: pgsql-admin(at)postgresql(dot)org
Cc: peter_e(at)gmx(dot)net
Subject: Re: database locale and system locale
Date: 2006-03-26 09:16:56
Message-ID: 44265C08.8040301@falter.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


peter_e(at)gmx(dot)net wrote:
> Erwin Brandstetter wrote:
>
>> I've been reading tons of stuff on locale and postgresql. I am still
>> not in the clear about some details, though: how do system locale and
>> database locale work together (or not)?
>>
>
> The system locale is more or less ignored. What matters are the locales
> set in the database.
>
Great!
>
>> If I am running a database cluster with --encoding= UTF8, are there
>> any troubles to be expected if the system locale remains "C" or
>> somehting like "de_AT(dot)iso885915(at)euro"?
>>
>
> Your sort order will approach randomness.
>
(...)

Wait .. not that great! The system locale is more or less ignored, but
my sort order will approach randomness?
Can you or anyone shed some more light on this? I am even more confused
than I was before ..

Regards
Erwin Brandstetter

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Joost Kraaijeveld 2006-03-26 09:37:58 Re: Postgresql 8.1.3 Debian installation encoding question
Previous Message Peter Eisentraut 2006-03-26 08:24:00 Re: database locale and system locale