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 1nxA3q-0005rk-8I for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Jun 2022 16:22:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nxA3p-0003dK-5X for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Jun 2022 16:22:05 +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 1nxA3o-0003dB-SO for pgsql-hackers@lists.postgresql.org; Fri, 03 Jun 2022 16:22:04 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nxA3k-0004sT-8X for pgsql-hackers@postgresql.org; Fri, 03 Jun 2022 16:22:04 +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 253GLvs6231073; Fri, 3 Jun 2022 12:21:57 -0400 From: Tom Lane To: Peter Eisentraut cc: Thomas Munro , pgsql-hackers Subject: Re: Collation version tracking for macOS In-reply-to: References: <381977b1-0898-cb6f-a427-3b5d873e81bd@enterprisedb.com> Comments: In-reply-to Peter Eisentraut message dated "Fri, 03 Jun 2022 14:17:28 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <231071.1654273317.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 03 Jun 2022 12:21:57 -0400 Message-ID: <231072.1654273317@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Peter Eisentraut writes: > On 07.05.22 02:31, Thomas Munro wrote: >> Last time I looked into this it seemed like macOS's strcoll() gave >> sensible answers in the traditional single-byte encodings, but didn't >> understand UTF-8 at all so you get C/strcmp() order. In other words >> there was effectively nothing to version. > Someone recently told me that collations in macOS have actually changed = > recently and that this is a live problem. See explanation here: > https://github.com/PostgresApp/PostgresApp/blob/master/docs/documentatio= n/reindex-warning.md?plain=3D1#L66 > So I think we should reconsider this patch, even for PG15. According to that document, they changed it in macOS 11, which came out a year and a half ago. Given the lack of complaints, it doesn't seem like this is urgent enough to mandate a post-beta change that would have lots of downside (namely, false-positive warnings for every other macOS update). regards, tom lane