Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iH8KB-00076o-Pv for pgsql-pkg-debian@arkaria.postgresql.org; Sun, 06 Oct 2019 15:19:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iH8KA-0002Ss-MZ for pgsql-pkg-debian@arkaria.postgresql.org; Sun, 06 Oct 2019 15:19:54 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1iH8KA-0002Sf-G1 for pgsql-pkg-debian@lists.postgresql.org; Sun, 06 Oct 2019 15:19:54 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iH8K7-00021s-Fn for pgsql-pkg-debian@lists.postgresql.org; Sun, 06 Oct 2019 15:19:54 +0000 Received: from msg.df7cb.de (unknown [IPv6:2a02:908:1473:f520:76e5:bff:fef3:7e00]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 46mS2t0mG0z3Dx6; Sun, 6 Oct 2019 17:19:50 +0200 (CEST) Date: Sun, 6 Oct 2019 17:19:49 +0200 From: Christoph Berg To: Stefan Wolf Cc: pgsql-pkg-debian@lists.postgresql.org, postgis-users@lists.osgeo.org Subject: Re: WG: [postgis-users] PostgreSQL 12 and PostGIS Message-ID: <20191006151949.GB29443@msg.df7cb.de> References: <00a701d57a9d$2d6c8b00$8845a100$@zpmt.de> <000601d57ac6$a75e5c30$f61b1490$@pcorp.us> <001e01d57ba2$d135f3b0$73a1db10$@zpmt.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001e01d57ba2$d135f3b0$73a1db10$@zpmt.de> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Re: Stefan Wolf 2019-10-05 <001e01d57ba2$d135f3b0$73a1db10$@zpmt.de> > Today I've installed the brand new PostgreSQL 12 on Ubuntu 18.04 > > > > "apt-get install postgis" will install PostGIS 2.5.2, but the PATH is > wrong: /usr/share/postgresql/11/. > > > > So CREATE EXTENSION postgis will fail. Hi Stefan, it's never been the expectation that "postgis" will install the correct PostGIS version for the correct PostgreSQL version. If there's only one version to choose from in a single Debian distribution, it will work, but as soon as there's several versions to choose from like in apt.postgresql.org, you should explicitly select a version: apt install postgis postgresql-11-postgis-2.5 That said, we don't have postgis 2.5 packages for PG 12 yet. Christoph