From: Tom Lane <tgl@sss.pgh.pa.us>
To: Greg Stark <stark@mit.edu>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: PostgreSQL-development <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: Tue, 16 Aug 2016 10:16:56 -0400
Message-ID: <30475.1471357016@sss.pgh.pa.us> (raw)
In-Reply-To: <CAM-w4HNoj7EHuVtqMamSQPcZhG4LSA2G4=Vcos0u5doN0Sicfg@mail.gmail.com>
References: <21969.1471287988@sss.pgh.pa.us>
<11ac2767-ac84-1da1-7c6e-75e44011e8e2@2ndquadrant.com>
<20160815211155.GL4028@tamriel.snowman.net>
<b0d33694-01c0-8ee7-1a8f-2599b8d3fab9@2ndquadrant.com>
<CAM-w4HNoj7EHuVtqMamSQPcZhG4LSA2G4=Vcos0u5doN0Sicfg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Greg Stark <stark@mit.edu> writes:
> It does rule out the possibility of having a minor bump in the soname
> for a point-release, which as you point out wouldn't do much on Linux
> but on other operating systems might be a useful thing.
I believe we could legally set SO_MINOR_VERSION to, say, 10.1 if we had to
(cf comment about it in Makefile.shlib), so a workaround is available for
that case. And the current scheme isn't any better: if, say, 9.5 is at
libpq.so.5.8, and we wish to bump the soname for its next point release,
we can't use soname 5.9 because that's already taken by 9.6. We'd have
to go to soname 5.8.1. So it's pretty much exactly the same thing.
Mechanically, that could look like editing the back branch's makefile
to say
SO_MINOR_VERSION=$(MAJORVERSION).1
This would not need to propagate into any other branch (unless we were
making similar changes for similar reasons in other back branches, of
course).
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, stark@mit.edu, peter.eisentraut@2ndquadrant.com, sfrost@snowman.net, meskes@postgresql.org
Subject: Re: Let's get rid of the separate minor version numbers for shlibs
In-Reply-To: <30475.1471357016@sss.pgh.pa.us>
References: <21969.1471287988@sss.pgh.pa.us> <11ac2767-ac84-1da1-7c6e-75e44011e8e2@2ndquadrant.com> <20160815211155.GL4028@tamriel.snowman.net> <b0d33694-01c0-8ee7-1a8f-2599b8d3fab9@2ndquadrant.com> <CAM-w4HNoj7EHuVtqMamSQPcZhG4LSA2G4=Vcos0u5doN0Sicfg@mail.gmail.com> <30475.1471357016@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