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 1oZPut-0005NT-8L for pgsql-hackers@arkaria.postgresql.org; Sat, 17 Sep 2022 04:58:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oZPuq-000319-Tt for pgsql-hackers@arkaria.postgresql.org; Sat, 17 Sep 2022 04:58:56 +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 1oZPup-00030z-T2 for pgsql-hackers@lists.postgresql.org; Sat, 17 Sep 2022 04:58:56 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oZPuf-00010M-Vj for pgsql-hackers@postgresql.org; Sat, 17 Sep 2022 04:58:55 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 949065C0112; Sat, 17 Sep 2022 00:58:40 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sat, 17 Sep 2022 00:58:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1663390720; x= 1663477120; bh=AZIH2aGV7rqnrY1y1Z3grKYjSMPjEr0XvgjF1lbazKo=; b=n MSP2r9NEOlSblvB2xyISoq2YgdhuZ3Bpx4QJqBQBDr38O+848BdvQAnwYiNGU1a+ TqSwnhFLpNZVemHUY8/rqh/LsMqvxik4MaFUy2QGXmFIi/wfEAPHh43P4YQA0bQP feJczcj+MO1kuO3cKdSCtP0VFIzjGGjr5F8pGUWPxmi125g7PPeqq41Abwsfv7Kv JpaXWiCxOKoTbb2a8svkPS6d6ean+UjGAuteirVOmzjBX4wsW/hcthgt3jMrHGyk 05bUkHzxZFteuxefeEU2iAwr8Q3fDTcPFYvKZ9+0ZUTwklIiL5aVWsYMIpK5cTep JMq4ri/0tj6rle3RSXuPw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfedvuddgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvghnth gvrhhprhhishgvuggsrdgtohhmqeenucggtffrrghtthgvrhhnpefhjeduueelfeehuedt udefteejveegieeiueejueehfeektddtueeiieeitefhveenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvihhsvghnthhrrghu thesvghnthgvrhhprhhishgvuggsrdgtohhm X-ME-Proxy: Feedback-ID: i131946ab:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 17 Sep 2022 00:58:38 -0400 (EDT) Message-ID: <65ef1a8a-1fc3-3dc3-c7aa-6b9f649014b2@enterprisedb.com> Date: Sat, 17 Sep 2022 06:58:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: ICU for global collation Content-Language: en-US To: Marina Polyakova , Kyotaro Horiguchi Cc: pgsql-hackers@postgresql.org, pryzby@telsasoft.com, rjuju123@gmail.com, daniel@manitou-mail.org, AndrewBille@gmail.com, michael@paquier.xyz References: <1f86f120-7b02-68f6-a434-132d054afe33@enterprisedb.com> <38d2aac40a991b20adf032e509c6eff5@postgrespro.ru> <6dd6db0984d86a51b7255ba79f111971@postgrespro.ru> <20220915.155210.529619933474389138.horikyota.ntt@gmail.com> From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 16.09.22 08:49, Marina Polyakova wrote: > But perhaps the check that --icu-locale cannot be specified unless > locale provider icu is chosen should also be moved here? So all these > checks will be in one place and it will use the provider from the > template database (which could be icu): > > $ initdb --locale-provider icu --icu-locale en-US -D data && > pg_ctl -D data -l logfile start && > createdb --icu-locale ru-RU --template template0 mydb > ... > createdb: error: database creation failed: ERROR:  ICU locale cannot be > specified unless locale provider is ICU Can you be more specific about what you are proposing here? I'm not following.