From: Peter Eisentraut <peter_e@gmx.net>
To: Tulio J Carrasco <tulio.carrasco@gmail.com>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #6642: Spanish collation fault
Date: Sun, 20 May 2012 02:11:05 +0300
Message-ID: <1337469065.10292.29.camel@vanquo.pezone.net> (raw)
In-Reply-To: <CAFsvbVCz+sWanXP=-RJuON44P1E4mSfU8sSH9djUpgybbrLTwQ@mail.gmail.com>
References: <E1SUTIS-0005Yn-61@wrigleys.postgresql.org>
<1337195790-sup-2177@alvh.no-ip.org>
<CAFsvbVCz+sWanXP=-RJuON44P1E4mSfU8sSH9djUpgybbrLTwQ@mail.gmail.com>
On ons, 2012-05-16 at 19:55 -0500, Tulio J Carrasco wrote:
> "León", "leon", "leOn" has identical order values: none of them
> weights more for Spanish collation and PG is not working according it
> if PG makes a "second pass" that ignores collation and reorders by its
> character value.
PostgreSQL uses the operating system's C library for sorting. Since you
are using Ubuntu, that is glibc for you. And a look into the glibc
sources shows that ó is sorted after o, the way Álvaro has explained.
If you disagree with that, you need to take it up with the glibc
maintainers.
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-bugs@postgresql.org
Cc: peter_e@gmx.net, tulio.carrasco@gmail.com, alvherre@commandprompt.com
Subject: Re: BUG #6642: Spanish collation fault
In-Reply-To: <1337469065.10292.29.camel@vanquo.pezone.net>
References: <E1SUTIS-0005Yn-61@wrigleys.postgresql.org> <1337195790-sup-2177@alvh.no-ip.org> <CAFsvbVCz+sWanXP=-RJuON44P1E4mSfU8sSH9djUpgybbrLTwQ@mail.gmail.com> <1337469065.10292.29.camel@vanquo.pezone.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