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 1nz1sL-0008Ak-IX for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Jun 2022 20:01:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nz1sK-0000at-6K for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Jun 2022 20:01:56 +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 1nz1sJ-0000ai-Sq for pgsql-hackers@lists.postgresql.org; Wed, 08 Jun 2022 20:01:55 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nz1sD-00089U-F6 for pgsql-hackers@postgresql.org; Wed, 08 Jun 2022 20:01:54 +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 258K1hm41738484; Wed, 8 Jun 2022 16:01:43 -0400 From: Tom Lane To: "Daniel Verite" cc: Thomas Munro , Rod Taylor , Jim Nasby , Jeremy Schneider , Peter Eisentraut , Pgsql-Hackers Subject: Re: Collation version tracking for macOS In-reply-to: <6b0bc332-ed6d-4848-a128-4dd63d1160a1@manitou-mail.org> References: <6b0bc332-ed6d-4848-a128-4dd63d1160a1@manitou-mail.org> Comments: In-reply-to "Daniel Verite" message dated "Wed, 08 Jun 2022 21:40:43 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1738482.1654718503.1@sss.pgh.pa.us> Date: Wed, 08 Jun 2022 16:01:43 -0400 Message-ID: <1738483.1654718503@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Daniel Verite" writes: > 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. I'm very skeptical of this process as being a reason to push users to reindex everything in sight. If U+NNNN was not a thing last year, there's no reason to expect that it appears in anyone's existing data, and therefore the fact that it sorts differently this year is a poor excuse for sounding time-to-reindex alarm bells. I'm quite concerned that we are going to be training users to ignore collation-change warnings. They have got to be a lot better targeted than this, or we're just wasting everyone's time, including ours. regards, tom lane