Re: WG: [postgis-users] PostgreSQL 12 and PostGIS

From: Christoph Berg <myon(at)debian(dot)org>
To: Stefan Wolf <sw(at)zpmt(dot)de>
Cc: pgsql-pkg-debian(at)lists(dot)postgresql(dot)org, postgis-users(at)lists(dot)osgeo(dot)org
Subject: Re: WG: [postgis-users] PostgreSQL 12 and PostGIS
Date: 2019-10-06 15:19:49
Message-ID: 20191006151949.GB29443@msg.df7cb.de
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

Re: Stefan Wolf 2019-10-05 <001e01d57ba2$d135f3b0$73a1db10$(at)zpmt(dot)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

In response to

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message apt.postgresql.org Repository Update 2019-10-09 13:21:12 pgbackrest updated to version 2.17-1.pgdg+1
Previous Message Stefan Wolf 2019-10-05 17:32:09 WG: [postgis-users] PostgreSQL 12 and PostGIS