From: Erwin Brandstetter <brandstetter@falter.at>
To: pgsql-admin@postgresql.org
Cc: peter_e@gmx.net
Subject: Re: database locale and system locale
Date: Sun, 26 Mar 2006 11:16:56 +0200
Message-ID: <44265C08.8040301@falter.at> (raw)
In-Reply-To: <200603261024.00755.peter_e@gmx.net>
References: <442624FF.6000604@falter.at>
<200603261024.00755.peter_e@gmx.net>
peter_e@gmx.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.iso885915@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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: brandstetter@falter.at, peter_e@gmx.net
Subject: Re: database locale and system locale
In-Reply-To: <44265C08.8040301@falter.at>
References: <442624FF.6000604@falter.at> <200603261024.00755.peter_e@gmx.net> <44265C08.8040301@falter.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox