Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fqeYX-0004E0-T0 for pgsql-pkg-yum@arkaria.postgresql.org; Fri, 17 Aug 2018 13:12:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fqeYW-0001Xh-IM for pgsql-pkg-yum@arkaria.postgresql.org; Fri, 17 Aug 2018 13:12:44 +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.89) (envelope-from ) id 1fqeYW-0001Xa-Dg for pgsql-pkg-yum@lists.postgresql.org; Fri, 17 Aug 2018 13:12:44 +0000 Received: from mx3-rdu2.redhat.com ([66.187.233.73] helo=mx1.redhat.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fqeYR-0006PH-If for pgsql-pkg-yum@postgresql.org; Fri, 17 Aug 2018 13:12:43 +0000 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7A2A37A7EE; Fri, 17 Aug 2018 13:12:36 +0000 (UTC) Received: from nb.usersys.redhat.com (ovpn-200-50.brq.redhat.com [10.40.200.50]) by smtp.corp.redhat.com (Postfix) with ESMTP id A4B2D2026D6C; Fri, 17 Aug 2018 13:12:35 +0000 (UTC) From: Pavel Raiskup To: pgsql-pkg-yum@lists.postgresql.org Cc: Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= , pgsql-pkg-yum Subject: Re: [Fwd: [Bug 1618698] New: [modularity] drop postgresql-libs - create libpq.spec and libecpg.spec instead] Date: Fri, 17 Aug 2018 15:12:34 +0200 Message-ID: <4157216.yXmPSteUxy@nb.usersys.redhat.com> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Fri, 17 Aug 2018 13:12:36 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Fri, 17 Aug 2018 13:12:36 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'praiskup@redhat.com' RCPT:'' List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Friday, August 17, 2018 2:20:20 PM CEST Devrim G=FCnd=FCz wrote: > Comments, please? Since pgrpms are parallel installable, and use completely different package names - that Fedora change should make no noise here. In case something in PGRPMS is built against system-default libpq.so.5, the built packages might get generated slightly different Requires - but it should be for good. I have a playground here, but it's a WIP! https://copr.fedorainfracloud.org/coprs/praiskup/libpq/ https://copr.fedorainfracloud.org/coprs/praiskup/libpq-postgresql-10/ Any comment is welcome here as well :-), thanks for bringing this up! Pavel > -------- Forwarded Message -------- > From: bugzilla@redhat.com > To: devrim@gunduz.org > Subject: [Bug 1618698] New: [modularity] drop postgresql-libs - create > libpq.spec and libecpg.spec instead > Date: Fri, 17 Aug 2018 11:18:09 +0000 >=20 > > https://bugzilla.redhat.com/show_bug.cgi?id=3D1618698 > >=20 > > Bug ID: 1618698 > > Summary: [modularity] drop postgresql-libs - create libpq.sp= ec > > and libecpg.spec instead > > Product: Fedora > > Version: rawhide > > Component: postgresql > > Keywords: FutureFeature, Tracking > > Assignee: praiskup@redhat.com > > Reporter: praiskup@redhat.com > > QA Contact: extras-qa@fedoraproject.org > > CC: anon.amish@gmail.com, devrim@gunduz.org, > > hhorak@redhat.com, jmlich83@gmail.com, > > jstanek@redhat.com, pkajaba@redhat.com, > > pkubat@redhat.com, praiskup@redhat.com, > > tgl@sss.pgh.pa.us > >=20 > >=20 > >=20 > > Fedora (28+) already provides multiple versions of PostgreSQL packages,= the > > default version AND the modular version (even though DB team has not st= arted > > maintaining the modular PG stack, it's done by modularity people - avai= lable > > for testing in /etc/yum.repos.d/fedora-modular.repo). > >=20 > > The ongoing plan is to support the modular PostgreSQL server, too, and = make > > that server interchangeable with system-default version (note that this= is > > not about parallel install-ability/SCL!). > >=20 > > The new layout should be 100% compatible with what we have provided so = far, > > so regular user shouldn't really observe big differences. I.e. each Fe= dora > > version should still (by default) provide/install the latest PostgreSQL > > major server version which was available at the time of Fedora branching > > (from Fedora Rawhide). > >=20 > > So the change is that, in module repository (in module streams), we'll > > provide different versions of set of PostgreSQL server packages > > (postgresql-server, postgresql-contrib, postgresql-pl*, etc., + third p= arty > > modules built against that server). > >=20 > > The major change in 'postgresql.spec' is that we'll drop shared librari= es > > from there - the postgresql-libs subpackage. Newly the contents of > > postgresql-libs subpackage will be provided in 'libpq' and 'libecpg' > > packages (with *-devel counterparts). The benefit of this layout is th= at, > > even though servers will be distributed in multiple versions, the _clie= nt_ > > library can be built and maintained only once per system. > >=20 > > We expect to provide older PG stack version usually in modules, but it = _is_ > > expected (we at least wish) that we could even start shipping newer ver= sion > > of > > PostgreSQL server module in the middle of Fedora stable release. For t= his > > purpose, we might need to have libpq updated to newer major version (if= the > > newly provided server version will require a newer libpq, e.g. because = there > > are newer symbols). So to automatically guard against server/client-lib > > mis-installation, we'll start with small downstream change -- with vers= ioned > > ABI of the libpq library. > >=20 > > This approach (single version of libpq and ABI versioning) has been > > discussed upstream and the result is that: > >=20 > > - Debian packagers do something similar (slightly differently because > > they maintain several libpq.so.5 versions in parallel, but only > > the latest required libpq is installed) > >=20 > > - upstream is not ATM very much interested in ABI versioning support > >=20 > > If upstream decided to implement ABI versioning one day, we'd migrate to > > that scheme in the next branched distro version. > >=20 > > [1] > >=20 > https://www.postgresql.org/message-id/5261375.z5KIV9Ssac%40nb.usersys.red= hat.com > >=20 > > This bug is meant to serve the tracking purpose. > >=20 >=20 >=20