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 1nz1Y0-0007AH-BW for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Jun 2022 19:40:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nz1Xx-0003vR-L1 for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Jun 2022 19:40:53 +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 1nz1Xx-0003vI-B8 for pgsql-hackers@lists.postgresql.org; Wed, 08 Jun 2022 19:40:53 +0000 Received: from mail.verite.pro ([185.16.44.216]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nz1Xu-0007yc-LB for pgsql-hackers@postgresql.org; Wed, 08 Jun 2022 19:40:52 +0000 Received: by mail.verite.pro (Postfix, from userid 1000) id C2E968C0602; Wed, 8 Jun 2022 21:40:47 +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: Collation version tracking for macOS To: "Tom Lane" Cc: Thomas Munro , Rod Taylor , Jim Nasby , Jeremy Schneider , Peter Eisentraut , Pgsql-Hackers In-Reply-To: <1310017.1654631012@sss.pgh.pa.us> Date: Wed, 08 Jun 2022 21:40:43 +0200 Message-Id: <6b0bc332-ed6d-4848-a128-4dd63d1160a1@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 Tom Lane wrote: > Yeah, and it's exactly at the level of quirks that things are likely > to change. Nobody's going to suddenly start sorting B before A. > They might, say, change their minds about where the digram "cz" > sorts relative to single letters, in languages where special rules > for that are a thing. Independently of these rules, all Unicode collations change frequently because each release of Unicode adds new characters. Any string that contains a code point that was previously unassigned is going to be sorted differently by all collations when that code point gets assigned to a character. Therefore the versions of all collations need to be bumped at every Unicode release. This is what ICU does. If the libc in macOS doesn't follow Unicode, that's not relevant to macOS, but let's assume an OS that tries to be up-to-date. If major OS upgrades happen every year or less frequently, each OS upgrade is likely to imply an upgrade of all the collations, since the interval between Unicode releases tends to be a year or less: https://www.unicode.org/history/publicationdates.html Best regards, --=20 Daniel V=E9rit=E9 https://postgresql.verite.pro/ Twitter: @DanielVerite