Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZQdb-00067A-0G for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Aug 2016 22:45:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bZQda-0002GI-11 for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Aug 2016 22:45:42 +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 1bZQdZ-0002GA-9G for pgsql-hackers@postgreSQL.org; Mon, 15 Aug 2016 22:45:41 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bZQdW-00035U-5n; Mon, 15 Aug 2016 22:45:39 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 8B27820592; Mon, 15 Aug 2016 18:45:36 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Mon, 15 Aug 2016 18:45:36 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=gKQKD+LNPxuaINb MYPJzBH5gJWI=; b=NTNyMO5dVJrCr3tLfPC8fU3NSEnIvdnXy2L4pb848tVZ9ob Y0lHnf/HYiGTT98O8CzO/38gOaF0y4O3wy+7oHX4wRjKdX2VqytLMeV0iYoSPOnn WeDO25x3o7q3Vi3WxCk2CuWgPhzUOPjmmoHIThHzE7nuTgSyjmSe7n/wGXSo= X-Sasl-enc: wK6ReuVvA4L4ZTs33qFC2eFD2CIkuIcSmnxrV3Bwm+jB 1471301136 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 2CDDAF2D2C; Mon, 15 Aug 2016 18:45:36 -0400 (EDT) Subject: Re: Let's get rid of the separate minor version numbers for shlibs To: Stephen Frost References: <21969.1471287988@sss.pgh.pa.us> <11ac2767-ac84-1da1-7c6e-75e44011e8e2@2ndquadrant.com> <20160815211155.GL4028@tamriel.snowman.net> Cc: Tom Lane , pgsql-hackers@postgreSQL.org, Michael Meskes From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Mon, 15 Aug 2016 18:45:35 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160815211155.GL4028@tamriel.snowman.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.6 (--) 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 On 8/15/16 5:11 PM, Stephen Frost wrote: > Eh? Last I checked, we needed minor version bumps to ensure that > binaries compiled against later versions, which might use newer symbols, > don't try to link against older libraries (which wouldn't have those > symbols). Let's review: What we install is libpq.so.5.8 (actual file) libpq.so.5 -> libpq.so.5.8 libpq.so -> libpq.so.5.8 The second one is the one used at run-time, looked up by SONAME. The third one is the one used at build time, because -lpq means look for libpq.so. If we instead installed libpq.so.5 (actual file) libpq.so -> libpq.so.5 nothing would effectively change. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers