Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kDtMn-0000X6-24 for pgsql-bugs@arkaria.postgresql.org; Thu, 03 Sep 2020 17:49:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kDtMl-0001V0-KW for pgsql-bugs@arkaria.postgresql.org; Thu, 03 Sep 2020 17:49:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kDtMl-0001Us-EF for pgsql-bugs@lists.postgresql.org; Thu, 03 Sep 2020 17:49:43 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kDtMe-0000zj-D4 for pgsql-bugs@lists.postgresql.org; Thu, 03 Sep 2020 17:49:42 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 083HnORe643101; Thu, 3 Sep 2020 13:49:24 -0400 From: Tom Lane To: "Daniel Verite" cc: "Jehan-Guillaume de Rorthais" , "Peter Eisentraut" , "Thomas Munro" , "Peter Geoghegan" , roman.lytovchenko@gmail.com, pgsql-bugs@lists.postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <643034.1599155278.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Sep 2020 13:49:24 -0400 Message-ID: <643100.1599155364@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =3D?UTF-8?Q?=3DD0=3DBE=3DD0=3DB2=3DD1=3D87=3DD0=3DB5=3DD0=3DBD=3DD0=3D= BA=3DD0=3DBE" ?=3D , "PostgreSQL mailing lists" Subject: Re: BUG #15285: Query used index over field with ICU collation in= some cases wrongly return 0 rows In-reply-to: References: Comments: In-reply-to "Daniel Verite" message dated "Thu, 03 Sep 2020 11:29:15 +0200" Fcc: inbox -------- "Daniel Verite" writes: > 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. If we aren't going to try to work around the bug, I agree that removing that example (or replacing it with a less buggy one?) is a good idea. I tend to agree with Peter that trying to work around a bug that isn't ours and that we don't fully understand is not going to be very productive. What is the argument, other than observation of a small number of test cases, that these other subroutines don't have bugs of their own? regards, tom lane