Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZNd1-0005Xg-Ei for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Aug 2016 19:32:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bZNd1-0007fK-07 for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Aug 2016 19:32:55 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bZNd0-0007fE-Dl for pgsql-hackers@postgresql.org; Mon, 15 Aug 2016 19:32:54 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bZNcy-0005ah-3L; Mon, 15 Aug 2016 19:32:53 +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 u7FJWoK0023078; Mon, 15 Aug 2016 15:32:50 -0400 From: Tom Lane To: Robert Haas cc: "pgsql-hackers@postgresql.org" , 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> Comments: In-reply-to Robert Haas message dated "Mon, 15 Aug 2016 15:18:16 -0400" Date: Mon, 15 Aug 2016 15:32:50 -0400 Message-ID: <23077.1471289570@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 Robert Haas writes: > On Mon, Aug 15, 2016 at 3:06 PM, Tom Lane 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