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 1p2Df6-00057c-Kn for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Dec 2022 15:45:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p2Df5-0001Dh-Gb for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Dec 2022 15:45:43 +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 1p2Df5-0001DX-5Y for pgsql-hackers@lists.postgresql.org; Mon, 05 Dec 2022 15:45:43 +0000 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1p2Df2-00033z-OP for pgsql-hackers@postgresql.org; Mon, 05 Dec 2022 15:45:42 +0000 Received: by mail-lf1-x12d.google.com with SMTP id d6so19190219lfs.10 for ; Mon, 05 Dec 2022 07:45:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=cGGspa95BFTzuSuPIqKqFjqLDJ8H2Vd82J5CACbRFZ0=; b=If9hvoXoIXGSrnxtPK+0GVz3/11SYbppcuEG311SwC0OhVajRz3dojxPXFESzRV54M IyY+5QGE95SsVoanNsiD/ZIed0ojsrFj+U9Tdgu+MNnsDMhMEjTuu/qp1GD0hT0ohAZy J+IlTr5SpQrePlH0JMD6sLDpPBuqvuHFaXaj+QO0aJRWyH/qVTckJofG40NWx1c9qy9y x5xdTucEahplg0MMQ92fS/dKam/OUb2jSRdDxmfjjoUUV+zg9fQl7m8SqK588IIMD+rq wd3E2pPNpPPvbRr2zWDntVhe3GJhmnKK0KqeMLGu2GRFxVirrsWBV7GFQU3MXbgdSGuc 6+MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cGGspa95BFTzuSuPIqKqFjqLDJ8H2Vd82J5CACbRFZ0=; b=yleIBWmz/jYFIDPRbmU0KuW/+VujtKQOPIPsmM2k2DcU8aazWU1XLRj9Tq+hN0DT9p 4TQcN9F0NuXPsjCSN1cFmz14f6JNCkjI1HDfcSICy9ks7vAAXPPqCSMiTlbtTK10E1qV wMB4QUFDCDHzKKMpi0liUgqBEolaHH7JYbUeICdCuoldFOavlNcZZo1pZDywLv1ecTc2 q8XGfLrFdD9Pq0bFOek1tC1ZFhNJMF7BbPMR5pHrh2Tu2nJXIAnLwwDPhmEwIvOlInDv g4/f/e/JJl0J0/tOc1x+vvaafF2e21zz7JalSiOuG/dqwNw/R317wJxLGgwnBCpa6cMy +IGQ== X-Gm-Message-State: ANoB5pmC0hpECm7tzG8TenlhIA86ad+9fM1PCi1C6zEzLgATe2wqu8PI LTf6YtFvXZUMx36FV3llifwCbW3zItXiRk+GG7M= X-Google-Smtp-Source: AA0mqf6wbj7mNBupkpsqRVaSHKiVBCZi6v29QTcNJhuCk5aJlJEwDrxayjmIXw7B5tTOhNhnGBq3dtxwlSpRh5QDDw0= X-Received: by 2002:a05:6512:c01:b0:4b1:ebdb:be45 with SMTP id z1-20020a0565120c0100b004b1ebdbbe45mr31643166lfu.618.1670255138663; Mon, 05 Dec 2022 07:45:38 -0800 (PST) MIME-Version: 1.0 References: <398aabd1-ad95-ba2d-d70a-dd5d90bf6e07@enterprisedb.com> <606bd2baa6d65b38fee6eb23bba40c5da210255b.camel@j-davis.com> <9f8e9b5a3352478d4cf7d6c0a5dd7e82496be4b6.camel@j-davis.com> <346f836208a39009c1998ed5a41c7f1a0be36911.camel@j-davis.com> In-Reply-To: From: Robert Haas Date: Mon, 5 Dec 2022 10:45:26 -0500 Message-ID: Subject: Re: Collation version tracking for macOS To: Thomas Munro Cc: Jeff Davis , Peter Eisentraut , Jeremy Schneider , Peter Geoghegan , "Nasby, Jim" , Tom Lane , pgsql-hackers Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sun, Dec 4, 2022 at 10:12 PM Thomas Munro wrote: > My tentative votes are: > > 1. I think we should seriously consider provider = ICU63. I still > think search-by-collversion is a little too magical, even though it > clearly can be made to work. Of the non-magical systems, I think > encoding the choice of library into the provider name would avoid the > need to add a second confusing "X_version" concept alongside our > existing "X_version" columns in catalogues and DDL syntax, while still > making it super clear what is going on. This would include adding DDL > commands so you can do ALTER DATABASE/COLLATION ... PROVIDER = ICU63 > to make warnings go way. +1. I wouldn't lose any sleep if we picked a different non-magical option, but I think this is probably my favorite of the explicit-library-version options (though it is close) and I like it better than search-by-collversion. (It's possible that I'm wrong to like it better, but I do.) > 2. I think we should ignore minor versions for now (other than > reporting them in the relevant introspection functions), but not make > any choices that would prevent us from changing our mind about that in > a later release. For example, having two levels of specificity ICU > and ICU68 in the libver-in-provider-name design wouldn't preclude us > from adding support for ICU68_2 later +1. -- Robert Haas EDB: http://www.enterprisedb.com