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 1q7BYS-0005V7-H0 for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Jun 2023 09:03:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q7BYR-0002kI-16 for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Jun 2023 09:03:39 +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 1q7BYQ-0002jJ-ND for pgsql-hackers@lists.postgresql.org; Thu, 08 Jun 2023 09:03:38 +0000 Received: from mail.verite.pro ([185.16.44.216]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q7BYJ-000raw-Uu for pgsql-hackers@lists.postgresql.org; Thu, 08 Jun 2023 09:03:37 +0000 Received: by mail.verite.pro (Postfix, from userid 1000) id 037C08C0726; Thu, 8 Jun 2023 11:03:28 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-15" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 From: "Daniel Verite" Subject: Re: Order changes in PG16 since ICU introduction To: "Tatsuo Ishii" Cc: pgsql@j-davis.com, Peter Eisentraut , andrew@tao11.riddles.org.uk, tgl@sss.pgh.pa.us, pgsql-hackers@lists.postgresql.org In-Reply-To: <20230608.093033.648172765268838567.t-ishii@sranhm.sra.co.jp> Date: Thu, 08 Jun 2023 11:03:25 +0200 Message-Id: <83ffec9f-b445-485c-9d64-b83ed314c85d@manitou-mail.org> X-Mailer: Manitou v1.7.3 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Tatsuo Ishii wrote: > >> Yes it's a special case but when doing initdb --locale=3DC, a user does > >> not need or want an ICU locale. They want the same thing than what v15 > >> does with the same arguments: a template0 database with > >> datlocprovider=3D'c', datcollate=3D'C', datctype=3D'C', dateiculocale= =3DNULL. >=20 > So in this case the only way to keep the same behavior in v16 with "initdb > --locale=3DC" (--no-locale) in v15 is, bulding PostgreSQL --without-icu? AFAIK the --no-locale case in v16 is fixed since: commit 5cd1a5af4d17496a58678c8eb7ab792119c2d723 Author: Jeff Davis Date: Fri Apr 21 13:11:18 2023 -0700 Fix initdb --no-locale. Discussion: https://postgr.es/m/878relf7cb.fsf@news-spur.riddles.org.uk Reported-by: Andrew Gierth The --locale=3DC case is still being discussed. To me it should produce the same result than --no-locale and --locale=3DC in v15, that is, "ICU is the default" does not apply to that case, but currently it initializes the cluster with an ICU locale. Best regards, --=20 Daniel V=E9rit=E9 https://postgresql.verite.pro/ Twitter: @DanielVerite