Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aNoMl-0003CK-IC for pgsql-pkg-debian@arkaria.postgresql.org; Mon, 25 Jan 2016 21:08:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aNoMk-0004tQ-B1 for pgsql-pkg-debian@arkaria.postgresql.org; Mon, 25 Jan 2016 21:08:02 +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 1aNoMj-0004tJ-TP for pgsql-pkg-debian@postgresql.org; Mon, 25 Jan 2016 21:08:02 +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 1aNoMg-0002HS-Ri for pgsql-pkg-debian@postgresql.org; Mon, 25 Jan 2016 21:08:00 +0000 Received: from [IPv6:2001:1620:f70:16:d250:99ff:fe26:7bb9] ([2001:1620:f70:16:d250:99ff:fe26:7bb9]) (AUTH: PLAIN markus@bluegap.ch, SSL: TLSv1/SSLv3,128bits,DHE-RSA-AES128-SHA) by klepario.bluegap.ch with ESMTPSA; Mon, 25 Jan 2016 22:04:43 +0100 id 00000000044C3DC5.56A68DEB.000023C6 Message-ID: <56A68EAC.7040907@bluegap.ch> Date: Mon, 25 Jan 2016 22:07:56 +0100 From: Markus Wanner User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Mike Dillon CC: PostgreSQL in Debian Subject: Re: Missing userland binaries for PostGIS 2.1 References: <56A5E633.7060009@bluegap.ch> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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 Mike, On 01/25/2016 09:39 PM, Mike Dillon wrote: > Right now, the EOL listing > on Postgresql.org lists > version 9.1 through 9.5 as supported. As such the "postgres" image in > the Docker Hub Official Images program also supports those versions. > > Given that PostGIS 2.2 is only available for 9.4 or 9.5 pgapt should currently offer postgis-2.2 for Postgres 9.1 to 9.5 > from what I can > tell, the only option for those who want to use PostGIS with older > versions of Postgres is for them to install PostGIS 2.1. Because there > is not a 2.1 version of the "postgis" Debian package in pgapt, it's not > possible to install userland binaries for those releases. That's correct, but applies only for 9.0, I think. Again, I suspect the binaries are less of a problem, as those should be backwards compatible. The missing scripts package is more severe, in this case. Plus the lack of security upgrades for older postgis versions. > The reason I can't just upgrade to 2.2 is that I have docker-postgis > images for the older supported versions of Postgres that don't support > PostGIS 2.2 (i.e. 9.1, 9.2, and 9.3). So if a security update comes > through for one of those Postgres releases that cause the "postgres" > image on Docker Hub to be rebuilt, I'll no longer be able to install a > compatible version of PostGIS on top of them (unless I just install the > extension and omit the userland binaries). Yes, those are separate packages. Just install postgresql-X.Y-postgis-2.1, and there it is. > 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 to. > > > This is in fact what my image does. However, if I have to rebuild the > Postgres 9.3 + PostGIS 2.1 image for any reason, that's no longer > possible unless I omit the userland binaries from the "postgis" package. Sure, just install the postgresql-X.Y-postgis-scripts and all postgresql-X.Y-postgis-M.N packages available. That should cover most use cases, I think. Including security fixes in PostgreSQL. Just don't think of it as a "Postgres 9.4 + PostGIS 2.1", but just a "Postgres 9.3 + PostGIS" image. Regards Markus Wanner -- Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-pkg-debian