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 1ppuGD-0008WQ-Lq for pgsql-hackers@arkaria.postgresql.org; Fri, 21 Apr 2023 17:09:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ppuGB-00019b-SS for pgsql-hackers@arkaria.postgresql.org; Fri, 21 Apr 2023 17:09:23 +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 1ppuGB-00019R-Il for pgsql-hackers@lists.postgresql.org; Fri, 21 Apr 2023 17:09:23 +0000 Received: from relay2-d.mail.gandi.net ([217.70.183.194]) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ppuG6-004H7r-T5 for pgsql-hackers@lists.postgresql.org; Fri, 21 Apr 2023 17:09:22 +0000 Received: (Authenticated sender: strk@kbt.io) by mail.gandi.net (Postfix) with ESMTPSA id 36F1D4000B; Fri, 21 Apr 2023 17:09:15 +0000 (UTC) Date: Fri, 21 Apr 2023 19:09:14 +0200 From: Sandro Santilli Sender: strk@kbt.io To: Tom Lane Cc: Regina Obe , pgsql-hackers@lists.postgresql.org, Jeff Davis Subject: Re: Order changes in PG16 since ICU introduction Message-ID: References: <000b01d97465$c34bbd60$49e33820$@pcorp.us> <3353947.1682092131@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3353947.1682092131@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Apr 21, 2023 at 11:48:51AM -0400, Tom Lane wrote: > "Regina Obe" writes: > > > https://trac.osgeo.org/postgis/ticket/5375 > > If they actually are using locale C, I would say this is a bug. > That should designate memcmp sorting and nothing else. Sounds like a bug to me. This is happening with a PostgreSQL cluster created and served by a build of commit c04c6c5d6f : =# select version(); PostgreSQL 16devel on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0, 64-bit =# show lc_collate; C =# select '+' < '-'; f =# select '+' < '-' collate "C"; t I don't know if it should matter but also: =# show lc_messages; C --strk;