Re: setting the environment locale - linux, windows

From: "Tomi NA" <hefest(at)gmail(dot)com>
To: "Martijn van Oosterhout" <kleptog(at)svana(dot)org>, "Tomi NA" <hefest(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: setting the environment locale - linux, windows
Date: 2006-04-21 13:34:27
Message-ID: d487eb8e0604210634x7c6d0346v2eb6650bf87d26f2@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4/21/06, Martijn van Oosterhout <kleptog(at)svana(dot)org> wrote:
> On Fri, Apr 21, 2006 at 12:49:31AM +0200, Tomi NA wrote:
> > This is probably somewhat offtopic, but it does relate to postgresql so...
> > Problem summary: I have a UTF-8 encoded database running on linux on
> > which upper() and lower() string functions ignore locale specific
> > characters.
>
> You need to look at your LC_COLLATE settings. LC_COLLATE and LC_CTYPE
> are fixed at initdb and constant across the DB.

So, if I were to backup my database, clear the data directory,
reinitialize the cluster and restore the database using the correct
LC_COLLATE and LC_CTYPE, I'd have one language nailed?

> > Are there plans to enable assigning locale at the database level?
>
> Plans, yes. Progress, a bit slow...

No estimates, then?
Nevertheless, thanks for the help.

Tomislav

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alban Hertroys 2006-04-21 13:37:38 A few questions about ltree
Previous Message Martijn van Oosterhout 2006-04-21 13:18:35 Re: setting the environment locale - linux, windows