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 1nx6FP-0008So-2v for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Jun 2022 12:17:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nx6FM-0007Q8-Oa for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Jun 2022 12:17:44 +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 1nx6FL-0007Pz-Oy for pgsql-hackers@lists.postgresql.org; Fri, 03 Jun 2022 12:17:44 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nx6FD-0007ML-IO for pgsql-hackers@postgresql.org; Fri, 03 Jun 2022 12:17:42 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1ECF75C0184; Fri, 3 Jun 2022 08:17:32 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 03 Jun 2022 08:17:32 -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=fm1; t=1654258652; x= 1654345052; bh=C/oRJYSceyFoexlOaoqet5hjVYwdIfbACgB0yay0bnw=; b=d 33ITnWxTZgHiHbDtqLHf/PTgT2z+lESsi8RTRBE9uUtWbwinDvIXtqiPBag5WCu6 AayZ9JNPBRUJP156VPa3z6p7LpLkpi4lcfoC/L0hAJnRmmqM0S8zW3atVEohz204 bGNw42EaN6L2xlC4fIXPbByJZtGgCtnJgKZyEpQMrExtqkT92TpRZavq6Fv5BENH pFCLapEm//9DRYca9NVqejJKeN9rFvhjODNntGLqOnsECyt/q0MJT4Sqc0vvoW9j G8UmVXJkXqhwGazTmZy1MA+3Hi3FPaif0XEX15c8dM2FJHEilgZm99TwiCafjjj1 9q7aVcYxfxwevN/qdEgKw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrleeigdeglecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomheprfgvthgv rhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsegvnhhtvg hrphhrihhsvggusgdrtghomheqnecuggftrfgrthhtvghrnhepveejvdefveejgfffieev vdehueeihfefffejgeeufeffkedvudeghfdvveejudehnecuffhomhgrihhnpehgihhthh husgdrtghomhdprhgvihhnuggvgidqfigrrhhnihhnghdrmhgunecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghishgvnhhtrh gruhhtsegvnhhtvghrphhrihhsvggusgdrtghomh X-ME-Proxy: Feedback-ID: i131946ab:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 3 Jun 2022 08:17:30 -0400 (EDT) Message-ID: Date: Fri, 3 Jun 2022 14:17:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: Collation version tracking for macOS Content-Language: en-US To: Thomas Munro Cc: pgsql-hackers References: <381977b1-0898-cb6f-a427-3b5d873e81bd@enterprisedb.com> From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 07.05.22 02:31, Thomas Munro wrote: >> During development, I have been using the attached patch to simulate >> libc collation versions on macOS. It just uses the internal major OS >> version number. I don't know to what the extend the libc locales on >> macOS are maintained or updated at all, so I don't know what practical >> effect this would have. Again, it's mainly for development. If there >> is interest from others, I think we could add this, maybe disabled by >> default, or we just keep it in the mailing list archives for interested >> parties. > 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/documentation/reindex-warning.md?plain=1#L66 So I think we should reconsider this patch, even for PG15.