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 1p0Aw3-0001os-51 for pgsql-hackers@arkaria.postgresql.org; Wed, 30 Nov 2022 00:26: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 1p0Av3-0007B9-4l for pgsql-hackers@arkaria.postgresql.org; Wed, 30 Nov 2022 00:25:45 +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 1p0Av2-0007B0-F6 for pgsql-hackers@lists.postgresql.org; Wed, 30 Nov 2022 00:25:44 +0000 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1p0Auz-0000s7-A5 for pgsql-hackers@postgresql.org; Wed, 30 Nov 2022 00:25:42 +0000 Received: by mail-pj1-x1033.google.com with SMTP id k2-20020a17090a4c8200b002187cce2f92so353782pjh.2 for ; Tue, 29 Nov 2022 16:25:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=j-davis-com.20210112.gappssmtp.com; s=20210112; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=jrFlWnJJ5i/ps78A75WWek3nghJH0TSOzkyY6pBlvE0=; b=6vo4oysaC/Evhd26sCdJMk5S9pcagvzcO+4FNmH5MdM7PRrK6suwFL0bJ5BWlZjj7Z 2D4XWaj2oIMyJNvlDJESUeBuOfd49zcjhRzyqlNwMGAuS5e2IOmGa3dyerFAZ1Exp2Mr fDxbhXeQk8cYAfvdFHoABDL5n+qgZawDKyUnJNwaZIFDOUpVykBfarjUM4WTmdxJ5gv+ Ao0UA5DwNgzEWwOTIYCXjcgJeepPlx2CCLcwFuBcKX8zLFPix5s0hFWftTsxIOq/FMLj nyYwihWnkNXeAZpj4Qj1uNVSSKci3SFvKD9Gbvmc/6NS2yLXytZ8PgpB9p8L0SBMLyqm ui/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=jrFlWnJJ5i/ps78A75WWek3nghJH0TSOzkyY6pBlvE0=; b=rkH9B8erOjYKUeUqObDBtMBJcF5z63v1BCYJCWgypsk7OURnS9jkoPcF6kNIqSuU1m 6VCBFC+bo5jLlWBmLnMLDWMdH4a3h6qHwQk23Snrw4E2mPXC7r6+6ATP5GoQ404USCKZ rw4cnIhRMR1qaRmS4npnS/ZMtsRHYwCY7KxRqlTy5PdxEwuO0iuenwGnuTfqqLc2c7OB jLFdSDRBgLniUkPPTmBv4RwyE4IHrQrp3WAjSuKyplBwzjyk/PRTMm1HDMGftUuwfc9M MjuVg/0xs5c9nprz8DyDXWvHUnlsZJZbzBE9mSYTgtjDgEQCtIORAIQ1g2A93W8d7k4a pnFQ== X-Gm-Message-State: ANoB5pkgAFvFHIZcjxJ4jHi97GNhIiZqmgpcuWn7jWFygV8uRy+JEq09 5OmIBXHPDFHUBHtNmxVXsvvPYg== X-Google-Smtp-Source: AA0mqf6BWTadCFmTqI5e5LaW+kbxE1cX6Tt7NGAzthc7leMqwNaZnXpY9GTBXB6pFtV/SnIvrUITqA== X-Received: by 2002:a17:90a:460b:b0:218:8a84:aeca with SMTP id w11-20020a17090a460b00b002188a84aecamr55759134pjg.63.1669767939744; Tue, 29 Nov 2022 16:25:39 -0800 (PST) Received: from [172.24.0.135] ([12.126.244.130]) by smtp.gmail.com with ESMTPSA id s33-20020a63ff61000000b004772abe41f6sm8904846pgk.83.2022.11.29.16.25.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 16:25:39 -0800 (PST) Message-ID: <6fec1a3a681623941c514e9ae0d97f42af417209.camel@j-davis.com> Subject: Re: Collation version tracking for macOS From: Jeff Davis To: Thomas Munro Cc: Robert Haas , Peter Eisentraut , Jeremy Schneider , Peter Geoghegan , "Finnerty, Jim" , "Nasby, Jim" , Tom Lane , pgsql-hackers Date: Tue, 29 Nov 2022 16:25:36 -0800 In-Reply-To: References: <398aabd1-ad95-ba2d-d70a-dd5d90bf6e07@enterprisedb.com> <606bd2baa6d65b38fee6eb23bba40c5da210255b.camel@j-davis.com> <9f8e9b5a3352478d4cf7d6c0a5dd7e82496be4b6.camel@j-davis.com> <83faecb4a89dfb5794938e7b4d9f89daf4c5d631.camel@j-davis.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4-0ubuntu1 MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, 2022-11-30 at 10:52 +1300, Thomas Munro wrote: > On Wed, Nov 30, 2022 at 8:38 AM Jeff Davis wrote: > > On Tue, 2022-11-29 at 10:46 -0800, Jeff Davis wrote: > > > One bit of weirdness is that I may have found another ICU > > > problem. > >=20 > > Reported as: > >=20 > > https://unicode-org.atlassian.net/browse/ICU-22216 >=20 > I'm no expert on loader/linker arcana but I have a feeling this is a > dead end.=C2=A0 It's an ancient Unix or at least elf-era Unix convention > that SONAMEs have major versions only, because major versions are the > basis of ABI stability. It's possible that it's more a problem of how they are doing it: the specific version is coming from a dependency rather than the library itself. The results are surprising, so I figured it's worth a report. Let's see what they say. Regardless, even if they did make a change, it's not going to help us anytime soon. We can't rely on any scheme that involves multiple minor versions for a single major version being installed at once. That means that, if you create a collation depending on ICU X.Y, and then it gets upgraded to X.(Y+1), and you create another collation depending on that library version, you are stuck. --=20 Jeff Davis PostgreSQL Contributor Team - AWS