Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZfCJ-000747-9s for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Aug 2016 14:18:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bZfCI-0000oO-Ru for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Aug 2016 14:18:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bZfAu-0006CO-F9 for pgsql-hackers@postgresql.org; Tue, 16 Aug 2016 14:17:04 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bZfAr-0007KW-3P; Tue, 16 Aug 2016 14:17:03 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u7GEGuFT030476; Tue, 16 Aug 2016 10:16:56 -0400 From: Tom Lane To: Greg Stark cc: Peter Eisentraut , Stephen Frost , PostgreSQL-development , Michael Meskes Subject: Re: Let's get rid of the separate minor version numbers for shlibs In-reply-to: References: <21969.1471287988@sss.pgh.pa.us> <11ac2767-ac84-1da1-7c6e-75e44011e8e2@2ndquadrant.com> <20160815211155.GL4028@tamriel.snowman.net> Comments: In-reply-to Greg Stark message dated "Tue, 16 Aug 2016 13:51:45 +0100" Date: Tue, 16 Aug 2016 10:16:56 -0400 Message-ID: <30475.1471357016@sss.pgh.pa.us> X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Greg Stark 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