pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Chris Hoover <revoohc@sermonaudio.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Help understanding locale
Date: Thu, 2 Sep 2004 09:56:38 +0200
Message-ID: <200409020956.38901.peter_e@gmx.net> (raw)
In-Reply-To: <41363929.20602@sermonaudio.com>
References: <4136178F.3060705@sermonaudio.com>
	<200409012239.14723.peter_e@gmx.net>
	<41363929.20602@sermonaudio.com>

Am Mittwoch, 1. September 2004 23:03 schrieb Chris Hoover:
> Would you please be so kind to provide a bit more explanation?  How will
> the sort differ?

C sorts by byte value, which ends up being AB...Zab...z.  en_US sorts using 
"dictionary order", which means aAbB...zZ, accented characters appear at 
their correct place, whitespace is ignored.  The latter in principle applies 
to all other language-specific locales as well, except that the particular 
relative order of the letters may be different.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



view thread (4+ messages)

Message-ID: <200409020956.38901.peter_e@gmx.net>
Permalink:  ../200409020956.38901.peter_e@gmx.net/
Also on:    postgresql.org/message-id/200409020956.38901.peter_e@gmx.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 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-admin@postgresql.org
  Cc: peter_e@gmx.net, revoohc@sermonaudio.com
  Subject: Re: Help understanding locale
  In-Reply-To: <200409020956.38901.peter_e@gmx.net>
  References: <4136178F.3060705@sermonaudio.com> <200409012239.14723.peter_e@gmx.net> <41363929.20602@sermonaudio.com> <200409020956.38901.peter_e@gmx.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