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 1o1B1C-0007GU-Mn for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Jun 2022 18:11:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o1B0C-0004WH-Pw for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Jun 2022 18:10: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 1o1B0C-0004W7-Fz for pgsql-hackers@lists.postgresql.org; Tue, 14 Jun 2022 18:10:56 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o1B09-0002x8-FR for pgsql-hackers@postgresql.org; Tue, 14 Jun 2022 18:10:55 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 7893F320090E; Tue, 14 Jun 2022 14:10:51 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 14 Jun 2022 14:10:52 -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=fm2; t=1655230250; x= 1655316650; bh=3RJRqyGkK12yLmIRsXUCVZACjauwPEYA6pYJPlIC5P0=; b=M Ojsl0MPPBPDhoF2MVMSy+fI7HeyW1M5ZQprBcDll+Lebc+qv/yOnIOY+vQeqA9UW OppfvqhipAM6HPkM+SZGbnoH4CSm7o9/fwT5n+ICiv3cVo5IBIKgADNUL01qx8Ne DxNLdmks0Oq1tZ2LHHHeJ53YdtcIRXTrGRrtcuxc8xgCNZ6j5Ro5wpU0w7NG+Oy/ rPHAe7ExpNIckiWALD5WMOcUTPHWdnY2VSlqaAUJzt45L7qbLnZnm9P2+clh4MSc RFmPNWydk4kww3qrGU6nn+ZUtYn0n4VzG2dhPrq0o6sYvSKXPw7nDmQaxgJwmpHz rXUlkO1qUHXINKG5Oj4Lg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudduledguddulecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomheprfgv thgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsegvnh htvghrphhrihhsvggusgdrtghomheqnecuggftrfgrthhtvghrnhepheelffeggedujeet iefhleetuddvieffhfffvdejvdffgeejkeduleduheduieefnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgr uhhtsegvnhhtvghrphhrihhsvggusgdrtghomh X-ME-Proxy: Feedback-ID: i131946ab:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 14 Jun 2022 14:10:47 -0400 (EDT) Message-ID: Date: Tue, 14 Jun 2022 20:10:44 +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.1 Subject: Re: Collation version tracking for macOS Content-Language: en-US To: Peter Geoghegan , Thomas Munro Cc: "Finnerty, Jim" , "Nasby, Jim" , Tom Lane , Jeremy Schneider , 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 11.06.22 05:35, Peter Geoghegan wrote: > Do we even need to store a version for indexes most of the time if > we're versioning ICU itself, as part of the "time travelling > collations" design? For that matter, do we even need to version > collations directly anymore? Conversely, why are we looking at the ICU version instead of the collation version. If we have recorded the collation as being version 1234, we need to look through the available ICU versions (assuming we can load multiple ones somehow) and pick the one that provides 1234. It doesn't matter whether it's the same ICU version that the collation was originally created with, as long as the collation version stays the same.