Re: Distinct oddity

From: Glenn Maynard <glennfmaynard(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Distinct oddity
Date: 2009-05-09 19:15:51
Message-ID: bd36f99e0905091215l774a5523ic3e18e302fae57bc@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Sat, May 9, 2009 at 10:33 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> That only proves that adding the 'e' changes the sort order, which is
> completely unsurprising for any non-C locale. What you need to do is
> dump out the *entire* results of the DISTINCT queries and look for the
> unmatched lines. I'd try dumping to two files, stripping the 'e' with
> sed, and then sort/diff.

How could adding an "e" change the sorting of "Österreich/Welt (Ltg.)"
compared to "Šsterreichisches Verkehrsb ro AG" in de_DE or en_US (or
any locale)?

It's also odd that the "1. Mittelschule ..." line is getting sorted after those.

--
Glenn Maynard

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Alvaro Herrera 2009-05-10 02:58:22 Re: Distinct oddity
Previous Message Tom Lane 2009-05-09 14:33:47 Re: Distinct oddity