Re: Odd sort behaviour

From: Lew <noone(at)lwsc(dot)ehost-services(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Odd sort behaviour
Date: 2009-09-03 00:50:46
Message-ID: h7n3t7$vce$1@news.albasani.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message A. Kretschmer 2009-09-03 06:32:00 Re: Question
Previous Message Ross J. Reedstrom 2009-09-02 15:28:21 Re: Question