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 1oao91-0006DS-PM for pgsql-committers@arkaria.postgresql.org; Wed, 21 Sep 2022 01:03:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oao90-0001Di-Hu for pgsql-committers@arkaria.postgresql.org; Wed, 21 Sep 2022 01:03:18 +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 1oao90-0001DQ-A9 for pgsql-committers@lists.postgresql.org; Wed, 21 Sep 2022 01:03:18 +0000 Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oao8x-0004dC-Ew for pgsql-committers@lists.postgresql.org; Wed, 21 Sep 2022 01:03:16 +0000 Received: (Authenticated sender: adsend@dunslane.net) by mail.gandi.net (Postfix) with ESMTPSA id CFEE31C0007; Wed, 21 Sep 2022 01:03:08 +0000 (UTC) Message-ID: <7c298d81-5a35-cfae-2f1e-2852214dcb8e@dunslane.net> Date: Tue, 20 Sep 2022 21:03:06 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: pgsql: Fix createdb tests for C locale Content-Language: en-US To: Peter Eisentraut , Tom Lane , Christoph Berg Cc: pgsql-committers@lists.postgresql.org References: <69170.1663425842@sss.pgh.pa.us> <3faf6b88-039b-22f1-18aa-d974d05fb362@enterprisedb.com> From: Andrew Dunstan In-Reply-To: <3faf6b88-039b-22f1-18aa-d974d05fb362@enterprisedb.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022-09-19 Mo 15:46, Peter Eisentraut wrote: > On 17.09.22 16:44, Tom Lane wrote: >> Christoph Berg writes: >>> This seems to have broken 15 on apt.pg.o/Debian: >> >> Fails on RHEL8 too, if LANG=C. >> OK if LANG=C.utf8. >> >> (The lack of buildfarm complaints is distressing.  Apparently >> our coverage of ICU is very thin.) > > This issue is with a combination of ICU and environment locale "C". > There is ICU coverage in the build farm, but apparently none with C > locale set. > > Yep, it's been like that for 5 years, ever since we added support for the ICU collation test. See line 59:     return unless $locale =~ /utf8/i; We can change that of course, I'm open to suggestions. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com