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 1q6cJE-0003ag-5S for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Jun 2023 19:25:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q6cJD-0000zW-3R for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Jun 2023 19:25:35 +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 1q6cJC-0000ww-QT for pgsql-hackers@lists.postgresql.org; Tue, 06 Jun 2023 19:25:34 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q6cJA-000a6r-9W for pgsql-hackers@lists.postgresql.org; Tue, 06 Jun 2023 19:25:33 +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 356JPQJZ221409; Tue, 6 Jun 2023 15:25:26 -0400 From: Tom Lane To: Joe Conway cc: Jeff Davis , Daniel Verite , Peter Eisentraut , Andrew Gierth , pgsql-hackers@lists.postgresql.org Subject: Re: Order changes in PG16 since ICU introduction In-reply-to: References: <45f0cd77-9c85-4c5e-9396-adbccdb635e2@manitou-mail.org> Comments: In-reply-to Joe Conway message dated "Tue, 06 Jun 2023 15:21:25 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <221407.1686079526.1@sss.pgh.pa.us> Date: Tue, 06 Jun 2023 15:25:26 -0400 Message-ID: <221408.1686079526@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Joe Conway writes: > On 6/6/23 15:18, Jeff Davis wrote: >> The locale "C" is a special case, documented as a non-locale. So, if >> LOCALE/--locale apply to ICU, then either ICU needs to handle locale >> "C" in the expected way (v8 patch series); or when we see locale "C" we >> need to somehow change the provider into something that can handle it >> (v6 patch series changes it to the "none" provider). > +1 to the latter approach Also +1, except that I find "none" a rather confusing choice of name. There *is* a provider, it's just PG itself not either libc or ICU. I thought Joe's suggestion of "internal" made more sense. regards, tom lane