pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: "Lic. Guillermo González" <g.gonzalez@cybira.biz>
To: pgsql-admin@postgresql.org
Subject: Re: upper() with LATIN1 problem
Date: Wed, 13 Apr 2005 11:19:01 -0400
Message-ID: <425D3865.7090406@cybira.biz> (raw)
In-Reply-To: <15653.1113316051@sss.pgh.pa.us>
References: <425BCCC3.40403@cybira.biz>
	<15653.1113316051@sss.pgh.pa.us>

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.gonzalez@cybira.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
> 





view thread (4+ messages)  latest in thread

Message-ID: <425D3865.7090406@cybira.biz>
Permalink:  ../425D3865.7090406@cybira.biz/
Also on:    postgresql.org/message-id/425D3865.7090406@cybira.biz

 · 

reply

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: g.gonzalez@cybira.biz
  Subject: Re: upper() with LATIN1 problem
  In-Reply-To: <425D3865.7090406@cybira.biz>
  References: <425BCCC3.40403@cybira.biz> <15653.1113316051@sss.pgh.pa.us> <425D3865.7090406@cybira.biz>

* 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