From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Cc: Michael Meskes <meskes@postgresql.org>
Subject: Re: Let's get rid of the separate minor version numbers for shlibs
Date: Mon, 15 Aug 2016 15:32:50 -0400
Message-ID: <23077.1471289570@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+TgmobXphQB5dD4gBzf-1_P6erAHv7U4NChM_Bbj5bKiZEjEg@mail.gmail.com>
References: <21969.1471287988@sss.pgh.pa.us>
<CA+TgmobXphQB5dD4gBzf-1_P6erAHv7U4NChM_Bbj5bKiZEjEg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Robert Haas <robertmhaas@gmail.com> writes:
> On Mon, Aug 15, 2016 at 3:06 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> That would give us an automatic annual change in the minor version.
>> If we ever made an incompatible change in a shlib, we could advance
>> its SO_MAJOR_VERSION but keep this rule for the minor version (there's
>> no law that says we have to reset the minor version when we do that).
> Well, part of the motivation for moving to one part version numbers
> was that it would be less confusing, but this seems like it would
> create more confusing minor version numbers for shared libraries. I
> think it would be strange to have a library that went from version
> 1.10 to version 2.11 without passing through 2.0 - 2.10. I wouldn't
> rate that a critical defect, but if you don't like strange version
> numbering conventions, I wouldn't pick that one.
Well, we could address that when and if we ever do a major-version
sonumber bump. We have not done that in the last ten years and frankly
I doubt we ever would; that would imply the sort of client API break
that we don't like to make.
> I wonder if we could address this problem by setting the version
> numbers using a formula based on the major version, instead of using
> the major version directly.
Possibly, though I think arithmetic is not Makefiles' strong suit.
In any case, I don't see a need for it right now, unless you're objecting
to the ecpg version changes I outlined.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
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: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, meskes@postgresql.org
Subject: Re: Let's get rid of the separate minor version numbers for shlibs
In-Reply-To: <23077.1471289570@sss.pgh.pa.us>
References: <21969.1471287988@sss.pgh.pa.us> <CA+TgmobXphQB5dD4gBzf-1_P6erAHv7U4NChM_Bbj5bKiZEjEg@mail.gmail.com> <23077.1471289570@sss.pgh.pa.us>
* 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