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 1lw0ZV-0002VL-4T for pgsql-bugs@arkaria.postgresql.org; Wed, 23 Jun 2021 10:57:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lw0ZT-0000aS-Fr for pgsql-bugs@arkaria.postgresql.org; Wed, 23 Jun 2021 10:57:27 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lvze4-0003fs-7S for pgsql-bugs@lists.postgresql.org; Wed, 23 Jun 2021 09:58:08 +0000 Received: from mail2.lnx-bsp.net ([103.225.161.181]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lvzdw-0005ct-IT for pgsql-bugs@lists.postgresql.org; Wed, 23 Jun 2021 09:58:06 +0000 Received: from mail2.lnx-bsp.net (localhost [127.0.0.1]) by mail2.lnx-bsp.net (Postfix) with ESMTP id 39BF8240027; Wed, 23 Jun 2021 09:57:55 +0000 (UTC) Received: from mail ([172.16.16.105]) by mail2.lnx-bsp.net with ESMTPSA id 3viAC6MF02B+owEASEwmjw (envelope-from ); Wed, 23 Jun 2021 09:57:55 +0000 Date: Wed, 23 Jun 2021 10:21:38 +0000 From: Telford Tendys To: Thomas Munro Cc: PostgreSQL mailing lists Subject: Re: Unicode FFFF Special Codepoint should always collate high. Message-ID: <20210623102138.GA18446@mail> References: <20210622083918.GA12063@mail> <20210623032418.GB12063@mail> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: OpenPGP: id=0A153029; url=http://lnx-bsp.net/pubkey.text; preference=signencrypt User-Agent: Mutt/1.5.20 (2009-12-10) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 21-06-23 18:18, Thomas Munro wrote: > Just in case you didn't know, PostgreSQL knows how to convert a prefix > search for 'aar%' into a range search with a related trick in some > limited circumstances: Thanks for the suggestion, I probably should learn those tricks but for the time being, would prefer to live with a slower search and get it eventually done the way I want. > Seems a little light on references and justifications for the > expectiation. ICU's results could be useful in the discussion. I trust those guys, they will figure it out. I strongly predict that they will keep the behaviour consistent with RHEL 7. Is there an easy way to make normal Linux glibc utilities (e.g. sort) use a locale from the ICU library? There's a package availble one Centos-8 here: libicu-60.3-2.el8_1.x86_64 Trouble is that only a few applications use it, and I can't find any way to plug-in / plug-out this functionality. Introducing postgresql details to the bugzilla ticket will muddy the water and create a aura of diffuse responsibility. What I've found is generally where there's a lot of words, people don't read them.