pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Verite <daniel@manitou-mail.org>
To: Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: "Peter Geoghegan" =?UTF-8?Q? <pg@bowt.ie>
Cc: "=D0=A0=D0=BE=D0=BC=D0=B0=D0=BD_=D0=9B=D0=B8=D1=82?= овченко" <roman.lytovchenko@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #15285: Query used index over field with ICU collation in some cases wrongly return 0 rows
Date: Thu, 03 Sep 2020 11:29:15 +0200
Message-ID: <c00a63d3-f9c3-4222-a659-637232523b30@manitou-mail.org> (raw)
In-Reply-To: <20200903105727.064665ce@firost>

	Jehan-Guillaume de Rorthais wrote:

> I really have no strong feeling right now about the best solution to adopt.
> However, I feel the least to do would be document it somewhere with a lot of
> strong emphasis.

Right now https://www.postgresql.org/docs/devel/collation.html
includes this example:

<quote>
CREATE COLLATION digitslast (provider = icu, locale = 'en-u-kr-latn-digit');
CREATE COLLATION digitslast (provider = icu, locale =
'en@colReorder=latn-digit');

    Sort digits after Latin letters. (The default is digits before letters.)
</quote>

Now that we know that this collation is problematic, we could remove
this example, even if we don't want to go as far as documenting
ICU bugs. In fact bug reports used the same name "digitslast", so
I wonder if people tried this straight from our doc.


Best regards,
-- 
Daniel Vérité
PostgreSQL-powered mailer: https://www.manitou-mail.org
Twitter: @DanielVerite





view thread (21+ messages)  latest in thread

Message-ID: <c00a63d3-f9c3-4222-a659-637232523b30@manitou-mail.org>
Permalink:  ../c00a63d3-f9c3-4222-a659-637232523b30@manitou-mail.org/
Also on:    postgresql.org/message-id/c00a63d3-f9c3-4222-a659-637232523b30@manitou-mail.org

 · 

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: daniel@manitou-mail.org, jgdr@dalibo.com, peter.eisentraut@2ndquadrant.com, thomas.munro@enterprisedb.com, pg@bowt.ie, roman.lytovchenko@gmail.com
  Subject: Re: BUG #15285: Query used index over field with ICU collation in some cases wrongly return 0 rows
  In-Reply-To: <c00a63d3-f9c3-4222-a659-637232523b30@manitou-mail.org>
  References: <20200903105727.064665ce@firost> <c00a63d3-f9c3-4222-a659-637232523b30@manitou-mail.org>

* 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