pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lew <noone@lwsc.ehost-services.com>
To: pgsql-sql@postgresql.org
Subject: Re: Odd sort behaviour
Date: Wed, 02 Sep 2009 20:50:46 -0400
Message-ID: <h7n3t7$vce$1@news.albasani.net> (raw)
In-Reply-To: <4A9DACC5.3040504@gmail.com>
References: <4A9D8BC4.30906@gmail.com>
	<dcc563d10909011438x784d3309pfe00e779002ff1af@mail.gmail.com>
	<4A9DA0DD.7010606@gmail.com>
	<407d949e0909011604t4613ac5eue8bd8fa65e72abfb@mail.gmail.com>
	<4A9DACC5.3040504@gmail.com>

Rob Sargent wrote:
> I'm sure this a life-time's worth of discussion on the merits of 
> treating "."
> as nothing when sorting....

Well, every sorted reference work in society at large seems to have a 
different idea of how to sort - just compare the phone book to the dictionary. 
  That's the point of locales, to formalize such rules so that you can coerce 
your system to follow one or another set as needed.  That way you don't have 
to agree or disagree with any rule, such as ignoring punctuation in the sort, 
simply be aware of whether it applies to any given situation.

-- 
Lew



view thread (6+ messages)

Message-ID: <h7n3t7$vce$1@news.albasani.net>
Permalink:  ../h7n3t7$vce$1@news.albasani.net/
Also on:    postgresql.org/message-id/h7n3t7$vce$1@news.albasani.net

 · 

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: noone@lwsc.ehost-services.com
  Subject: Re: Odd sort behaviour
  In-Reply-To: <h7n3t7$vce$1@news.albasani.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