From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-admin@postgresql.org
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Erika Terahata Torres Prada e Silva - MPS <erika.prada@previdencia.gov.br>
Subject: Re: RES: RES: Issue on Varchar Ordering
Date: Fri, 18 Aug 2006 07:57:43 +0200
Message-ID: <200608180757.44585.peter_e@gmx.net> (raw)
In-Reply-To: <20060817213206.GF318@alvh.no-ip.org>
References: <5519B95F9CA8B94DA8DE3F0A33375672017BA006@wtdfl055.prevnet>
<20060817213206.GF318@alvh.no-ip.org>
Alvaro Herrera wrote:
> LC_COLLATE=pt_PT sort << EOF
> GABRIEL ALEXANDRE DA SILVA MANICA
> GABRIELA JACOBY NOS
> GABRIELA HELEDA DE SOUZA
> GABRIELA LETICIA BATISTA NUNES
> GABRIEL ALCIDES KLIM PERONDI
> EOF
>
> On my system it outputs the order you show above, which shows that my
> locale is correctly defined per your expectations.
That is absolutely wild. This will indeed return a space-sensitive sort
under pt_BR, but not under, say, de_DE. So there is order in this
world! (heh)
This is on Debian, so the original poster has some configuration or
version difference. Please tell OS version, and the output of "SHOW
lc_collate".
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
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: peter_e@gmx.net, alvherre@commandprompt.com, erika.prada@previdencia.gov.br
Subject: Re: Issue on Varchar Ordering
In-Reply-To: <200608180757.44585.peter_e@gmx.net>
References: <5519B95F9CA8B94DA8DE3F0A33375672017BA006@wtdfl055.prevnet> <20060817213206.GF318@alvh.no-ip.org> <200608180757.44585.peter_e@gmx.net>
* 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