From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Chapman Flack <chap@anastigmatix.net>
Cc: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@lists.postgresql.org, pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: dfmgr additional ABI version fields
Date: Fri, 8 Oct 2021 16:54:45 +0200
Message-ID: <8f2034ca-7677-77cb-38f0-497f92f58fa0@enterprisedb.com> (raw)
In-Reply-To: <163151.1633634122@sss.pgh.pa.us>
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>
On 07.10.21 21:15, Tom Lane wrote:
> Chapman Flack <chap@anastigmatix.net> 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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: peter.eisentraut@enterprisedb.com, tgl@sss.pgh.pa.us, chap@anastigmatix.net, andres@anarazel.de
Subject: Re: dfmgr additional ABI version fields
In-Reply-To: <8f2034ca-7677-77cb-38f0-497f92f58fa0@enterprisedb.com>
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> <8f2034ca-7677-77cb-38f0-497f92f58fa0@enterprisedb.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox