pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kaleb Akalework <kaleb.akalework@asg.com>
To: Peter Geoghegan <pg@bowt.ie>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: RE: BUG #15651: Collation setting en_US.utf8 breaking sort order
Date: Fri, 22 Feb 2019 19:17:06 +0000
Message-ID: <9421be5798da48c0a265bc13b0ef5224@asg.com> (raw)
In-Reply-To: <CAH2-WzksFxYVuixFWo-jfgh9p75LjfA3dVxLxiq4NhDFOynEiA@mail.gmail.com>
References: <15651-0caa86edc3ca0505@postgresql.org>
	<17689.1550858606@sss.pgh.pa.us>
	<CAH2-WzksFxYVuixFWo-jfgh9p75LjfA3dVxLxiq4NhDFOynEiA@mail.gmail.com>

Ok so if this is intended behavior of UTF8 then I understand. My last question then would be if I use a collation setting of C, does it mean I won't be able to support multiple languages?

-----Original Message-----
From: Peter Geoghegan <pg@bowt.ie> 
Sent: Friday, February 22, 2019 1:41 PM
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Kaleb Akalework <kaleb.akalework@asg.com>; PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #15651: Collation setting en_US.utf8 breaking sort order

*** External email: Verify sender before opening attachments or links ***


On Fri, Feb 22, 2019 at 10:03 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> This appears to be the intended behavior of en_US sorting.

Right. UCA style algorithms tend to give the least weight of all to whitespace characters. They're tertiary weight, if memory serves.

--
Peter Geoghegan


view thread (9+ messages)  latest in thread

Message-ID: <9421be5798da48c0a265bc13b0ef5224@asg.com>
Permalink:  ../9421be5798da48c0a265bc13b0ef5224@asg.com/
Also on:    postgresql.org/message-id/9421be5798da48c0a265bc13b0ef5224@asg.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 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-bugs@postgresql.org
  Cc: kaleb.akalework@asg.com, pg@bowt.ie, tgl@sss.pgh.pa.us
  Subject: Re: BUG #15651: Collation setting en_US.utf8 breaking sort order
  In-Reply-To: <9421be5798da48c0a265bc13b0ef5224@asg.com>
  References: <15651-0caa86edc3ca0505@postgresql.org> <17689.1550858606@sss.pgh.pa.us> <CAH2-WzksFxYVuixFWo-jfgh9p75LjfA3dVxLxiq4NhDFOynEiA@mail.gmail.com> <9421be5798da48c0a265bc13b0ef5224@asg.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