pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Glenn Maynard <glennfmaynard@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Re: Distinct oddity
Date: Sat, 9 May 2009 15:15:51 -0400
Message-ID: <bd36f99e0905091215l774a5523ic3e18e302fae57bc@mail.gmail.com> (raw)
In-Reply-To: <6111.1241879627@sss.pgh.pa.us>
References: <C62AFBD0.35F11%maximilian.tyrtania@onlinehome.de>
	<6111.1241879627@sss.pgh.pa.us>

On Sat, May 9, 2009 at 10:33 AM, Tom Lane <tgl@sss.pgh.pa.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



view thread (20+ messages)  latest in thread

Message-ID: <bd36f99e0905091215l774a5523ic3e18e302fae57bc@mail.gmail.com>
Permalink:  ../bd36f99e0905091215l774a5523ic3e18e302fae57bc@mail.gmail.com/
Also on:    postgresql.org/message-id/bd36f99e0905091215l774a5523ic3e18e302fae57bc@mail.gmail.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: glennfmaynard@gmail.com
  Subject: Re: Distinct oddity
  In-Reply-To: <bd36f99e0905091215l774a5523ic3e18e302fae57bc@mail.gmail.com>

* 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