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 1mYrQM-0004Wg-98 for pgsql-hackers@arkaria.postgresql.org; Fri, 08 Oct 2021 15:04:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mYrQL-0005R2-64 for pgsql-hackers@arkaria.postgresql.org; Fri, 08 Oct 2021 15:04:37 +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 1mYrQK-0005PP-2Y for pgsql-hackers@lists.postgresql.org; Fri, 08 Oct 2021 15:04:36 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mYrGr-0004Ba-Ql for pgsql-hackers@postgresql.org; Fri, 08 Oct 2021 14:54:52 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id B92D95C0196; Fri, 8 Oct 2021 10:54:48 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 08 Oct 2021 10:54:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=v7maPangXY5zRuPqzq2lLk5DCM6wVYd/ccB9S6fY4 nw=; b=e8+UbDqOTb1xoN8/KrFDnMquPz1cUTIwo+QnEmlHlMa+b5VoDHE8PazH/ hkZ0DTDFgNg+4TxsEeA9eqEV3IEqVvRVbanv385fA554WOyQjdlqGhv/y1RhXp9k 6v8unt6ddmOdBelyquQGPbu7j0mz7VF9kvpxsLUvJMKFPi5VRtrvS0r9dVkSrN2D JLEokJPad3zwfXe00K3qQIZA9fGbiiEs6d0B5gLXS9FYcpN5b7angTdFfGQIAHtx 1D9PzijxV+gQDFb36GMMjUT412z/dq421mdQzrMVbY1VgQsxyDSbjD5sA8x61OVR QeK9yfTdI+s2PZLbY/k7+J18w6onA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddttddgkedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomheprfgvthgv rhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsegvnhhtvg hrphhrihhsvggusgdrtghomheqnecuggftrfgrthhtvghrnhepleevheehueeiudeiteei tdekueetleefteejffeiffdugedvffdvffdtiedvueeknecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgruhht segvnhhtvghrphhrihhsvggusgdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 8 Oct 2021 10:54:46 -0400 (EDT) Subject: Re: dfmgr additional ABI version fields To: Tom Lane , Chapman Flack Cc: Andres Freund , pgsql-hackers@lists.postgresql.org, pgsql-hackers References: <55215fda-db31-a045-d6b7-d6f2d2dc9920@enterprisedb.com> <65011.1633621797@sss.pgh.pa.us> <45ED8985-0756-4FE3-B651-0EC431CF1445@anarazel.de> <82163.1633624943@sss.pgh.pa.us> <615F26B6.1020805@anastigmatix.net> <163151.1633634122@sss.pgh.pa.us> From: Peter Eisentraut Message-ID: <8f2034ca-7677-77cb-38f0-497f92f58fa0@enterprisedb.com> Date: Fri, 8 Oct 2021 16:54:45 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <163151.1633634122@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 07.10.21 21:15, Tom Lane wrote: > Chapman Flack writes: >> On 10/07/21 12:42, Tom Lane wrote: >>> Can we make the addition be a string not a number, so that we >>> could include something more useful than "1234" in the error >>> message? > >> Just using a string like "EDB v" + something would probably rule out >> collisions in practice. To be more formal about it, something like >> the tag URI scheme [0] could be recommended. > > Hmm. Personally I'm more interested in the string being comprehensible to > end users than in whether there's any formal rule guaranteeing uniqueness. > I really doubt that we will have any practical problem with collisions, > so I'd rather go with something like "EnterpriseDB v1.2.3" than with > something like "tag:enterprisedb.com,2021:1.2.3". Yeah, just a string should be fine.