Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aNd9P-0004jX-BS for pgsql-pkg-debian@arkaria.postgresql.org; Mon, 25 Jan 2016 09:09:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aNd9O-0003Zc-Sg for pgsql-pkg-debian@arkaria.postgresql.org; Mon, 25 Jan 2016 09:09:30 +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) (envelope-from ) id 1aNd9O-0003ZO-If for pgsql-pkg-debian@postgresql.org; Mon, 25 Jan 2016 09:09:30 +0000 Received: from molabun.bluegap.ch ([148.251.76.228] helo=klepario.bluegap.ch) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aNd9H-00044p-GR for pgsql-pkg-debian@postgresql.org; Mon, 25 Jan 2016 09:09:29 +0000 Received: from [192.168.33.38] (60.17.253.84.static.wline.lns.sme.cust.swisscom.ch [::ffff:84.253.17.60]) (AUTH: PLAIN markus@bluegap.ch, SSL: TLSv1/SSLv3,128bits,DHE-RSA-AES128-SHA) by klepario.bluegap.ch with ESMTPSA; Mon, 25 Jan 2016 10:06:06 +0100 id 00000000044BAFD8.56A5E57F.00005ADB Subject: Re: Missing userland binaries for PostGIS 2.1 To: Mike Dillon , pgsql-pkg-debian@postgresql.org References: From: Markus Wanner X-Enigmail-Draft-Status: N1110 Message-ID: <56A5E633.7060009@bluegap.ch> Date: Mon, 25 Jan 2016 10:09:07 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="=_klepario.bluegap.ch-23259-1453712767-0001-2" In-Reply-To: X-Pg-Spam-Score: -1.9 (-) X-Mailing-List: pgsql-pkg-debian List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Precedence: bulk Sender: pgsql-pkg-debian-owner@postgresql.org This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages. --=_klepario.bluegap.ch-23259-1453712767-0001-2 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Mike, On 01/24/2016 05:22 PM, Mike Dillon wrote: > It looks like the apt.postgresql.org repo > was recently updated to have PostGIS 2.2 packages. I build a relatively= > popular Docker image for PostGIS, so this was great to see since it's > something users have been asking to have for some time > (see https://github.com/appropriate/docker-postgis). Cool, thanks. And yes, while postgis-2.2 has been released a while ago, it's not uncommon for it to take a while until it arrives in Debian testing. In this particular case, 2.2.0 isn't even fully compatible to 2.2.1, so I decided to not upload 2.2.0 to pgapt at all. > However, it looks like in the process of updating the repo, version 2.1= > of the "postgis" package was removed. We are providing only exactly one postgis version at a time, so I wouldn't say it's removed, but upgraded. Note that an installed postgis-2.1 extension is guaranteed to continue to work even after an upgrade. We urge you to upgrade the extension ASAP, though. This is explained in the NEWS file. > This means that I can no longer > build an image for PostGIS 2.1 on older Postgres versions that includes= > the PostGIS userland binaries. We (pgapt) don't currently provide snapshots of the pgapt archive, which I think is essentially what you'd want for reproducible Docker images. You currently have to take care of that for yourself, sorry. > I understand the difficulty of providing both a 2.2 package and a 2.1 > package in the same repo since there is no version number in the packag= e > name (e.g. "postgis-2.1" and "postgis-2.2") Not only that, but postgis itself doesn't allow parallel installations of multiple versions of the extension. Consider 'CREATE EXTENSION postgis= ;'. (Granted, we could in theory still provide multiple conflicting packages. I don't see much value in that, though.) > so I'm wondering how much > of a loss it is to no longer have the userland binaries. I personally > don't use those binaries, so I can't be sure of the impact of simply > removing them from the Docker image. To me, removing them from an old image sounds like a bad idea. Also note that the postgresql-X.Y-scripts only works with the newest version of the extension. As noted in the NEWS file, you won't be able to create an old version of the extension after an upgrade. Why don't you simply upgrade to Postgis 2.2? It's not like the old image is vanishing. If you separate code and data containers, as is common in the Docker world, it might be sensible to provide postgresql-X.Y-postgis-2.1 and postgresql-X.Y-postgis-2.2 in the code container. That way, users can upgrade their code container(s) and run it against their data - no matter which version of the extension their data container is referring t= o. Regards Markus Wanner --=_klepario.bluegap.ch-23259-1453712767-0001-2 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQQcBAEBCAAGBQJWpeY/AAoJEOhoLRs/Memzy2Ef/2WQblfm6t30qSoj22wKd78V BggMbdXfNnJd6CyocbCY6MdoYHN1zq6VeZTGQ3rbhlZ+9sFBigc3HVAmpFno1niB log2DcdPy3tY3dbUTJjKtl/xlmM0YiWbJqc3/tl2zlHY7mmf5Oaoz8L9AVfmo/va c61Vh6nEDL+Wz3dPjGGti29reSbLvJaHUPtw/lFVSDTJQMVgVGSm3D/rS5Um18PC rOLwIGcj4G9Z7ddRBqIYSgTOR0YixaK0u8jYhWQqpM+MxbCd4xUGMFOgyN7F31Zk UfR8CBno2vUoOX5BDszN10C4B4VxQ0nvfbqi3ZTx/O0ugCfZRUqdUbBBurr9FHk0 +OsJSkIOROhL4namsZ9tfp2xVY+PREGPRclgi4OfbkSIypWu7OEBxKO5F/pssfkW NCngwM5oxqbJeiNUY/v1iDGdLaUAyZgzMNn+nFZ66ih3PUy3m9PlPeSbScmaGc7E LTn8rLLv8llsN9IZYjk2NAD1mMKWTxp3yEAHy1r4f9+76uQWU8omblnce/XyTjvs 8p5fA+S3exkrwInZvlNNA426ulmGKgAsESH+2Q5uPToRn6qvf60dw1icNjbAgHrX k2d2COWfUjlzVp2ZBp6EJQjA2EIT4y5mgXde+LOiaGJCl/lA4En3+QbrrZ27W0Va kwapylSZSl2vpM1O3RZMC3RCgSbctwjd/L1kxAwVQF/V3ef+iFzyTz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