From: Alvaro Herrera <alvherre@commandprompt.com>
To: Erika Terahata Torres Prada e Silva - MPS <erika.prada@previdencia.gov.br>
Cc: pgsql-admin@postgresql.org
Subject: Re: RES: Issue on Varchar Ordering
Date: Fri, 18 Aug 2006 09:54:17 -0400
Message-ID: <20060818135417.GI32181@alvh.no-ip.org> (raw)
In-Reply-To: <5519B95F9CA8B94DA8DE3F0A33375672017BAD10@wtdfl055.prevnet>
References: <5519B95F9CA8B94DA8DE3F0A33375672017BAD10@wtdfl055.prevnet>
Erika Terahata Torres Prada e Silva - MPS wrote:
> OS Debian 3.1
>
> Show lc_collate:
>
> "pt_BR.ISO-8859-1"
>
> It returns:
> GABRIELA HELEDA DE SOUZA
> GABRIELA JACOBY NOS
> GABRIEL ALCIDES KLIM PERONDI
> GABRIELA LETICIA BATISTA NUNES
> GABRIEL ALEXANDRE DA SILVA MANICA
>
> The correct would be:
>
> GABRIEL ALCIDES KLIM PERONDI
> GABRIEL ALEXANDRE DA SILVA MANICA
> GABRIELA HELEDA DE SOUZA
> GABRIELA JACOBY NOS
> GABRIELA LETICIA BATISTA NUNES
>
> As I told you, with OS Windows, it works correctly...
Strange. I'm using Debian unstable here and it works fine, i.e., just
as you expect. This sounds like a glibc bug to me; one corrected after
3.1. (Is that Sarge? I don't know the version numbers.)
What version of the libc6 package do you have installed? I have 2.3.6-18 here.
$ LC_MESSAGES=C dpkg -l libc6
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=======================-=======================-==============================================================
ii libc6 2.3.6-18 GNU C Library: Shared libraries
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
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: alvherre@commandprompt.com, erika.prada@previdencia.gov.br
Subject: Re: Issue on Varchar Ordering
In-Reply-To: <20060818135417.GI32181@alvh.no-ip.org>
References: <5519B95F9CA8B94DA8DE3F0A33375672017BAD10@wtdfl055.prevnet> <20060818135417.GI32181@alvh.no-ip.org>
* 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