Re: upper() with LATIN1 problem

From: "Lic(dot) Guillermo González" <g(dot)gonzalez(at)cybira(dot)biz>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: upper() with LATIN1 problem
Date: 2005-04-13 15:19:01
Message-ID: 425D3865.7090406@cybira.biz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

I look at the variable/parameter LC_CTYPE and it is set to C (I think
this is the default) for performance reason, the installer says.

If I use LATIN1 (spanish) what value is the best option for this
variable/parameter?

Thanks!

--
Guillermo González

Tom Lane wrote:
> =?ISO-8859-1?Q?=22Lic=2E_Guillermo_Gonz=E1lez=22?= <g(dot)gonzalez(at)cybira(dot)biz> writes:
>
>>The problem is:
>>- with a text 'magriñá'
>>- the upper('magriñá') returns MAGRIñà
>>- NOTE that the characters 'ñ' and 'á' didn't change the case.
>
>
> This is determined by your locale (specifically LC_CTYPE) not by what
> the database thinks the encoding is. You'll probably want to re-initdb
> in the desired locale.
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Lim, Terrin 2005-04-13 15:20:40 Destroying all exisitng tables in database
Previous Message lst_hoe01 2005-04-13 15:06:44 Re: question about wal and point in time recovery