pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Daniel Verite <daniel@manitou-mail.org>
To: Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Peter Geoghegan <pg@bowt.ie>
Cc: Роман Литовченко <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, 3 Sep 2020 10:26:03 +0200
Message-ID: <0df88ec9-90c6-54cb-ca63-7aafa5903b0c@2ndquadrant.com> (raw)
In-Reply-To: <8b6f61c4-eb21-484c-bdc6-e4b8e9f3ee62@manitou-mail.org>
References: <8b6f61c4-eb21-484c-bdc6-e4b8e9f3ee62@manitou-mail.org>

On 2020-09-03 09:41, Daniel Verite wrote:
> 	Jehan-Guillaume de Rorthais wrote:
> 
>> Maybe Daniel has some more experience feedback with other customizations
> 
> No, I've just tried various other reorderings, and didn't find any other that
> seems to have the same bug as latn-digit.
> My tests consisted of indexing a large corpus of text and running the
> index through amcheck.

In this case I'm tempted to just leave it alone and write it off as a 
bug in ICU.  We could potentially inspect the collator object at CREATE 
COLLATION time and issues warnings if we find something we know to be buggy.

I don't think we want to make our code uglier and slower for normal uses 
to work around a bug in some niche feature in ICU.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (21+ messages)  latest in thread

Message-ID: <0df88ec9-90c6-54cb-ca63-7aafa5903b0c@2ndquadrant.com>
Permalink:  ../0df88ec9-90c6-54cb-ca63-7aafa5903b0c@2ndquadrant.com/
Also on:    postgresql.org/message-id/0df88ec9-90c6-54cb-ca63-7aafa5903b0c@2ndquadrant.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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, daniel@manitou-mail.org, jgdr@dalibo.com, thomas.munro@enterprisedb.com, pg@bowt.ie, roman.lytovchenko@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #15285: Query used index over field with ICU collation in some cases wrongly return 0 rows
  In-Reply-To: <0df88ec9-90c6-54cb-ca63-7aafa5903b0c@2ndquadrant.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