
Bo,
At a glance, it looks like maybe your PostgreSQL 13 had a 3.2.1 installed and your PostgreSQL 14 has 3.2.0 installed (or at least the postgis.control file probably has 3.2.0 instead of 3.2.1).
I’d double check to make sure you did install 3.2.1 on your PostgreSQL 14. Downgrades are not supported which is essentially what it’s telling you.
That said, the preferable way for upgrading PostGIS 3 is to use:
SELECT postgis_extensions_upgrade();
Though that will probably result in the same error since it seems your PostgreSQL 14 is running with 3.2.0 instead of 3.2.1.
The ALTER EXTENSION approach has a couple of downsides, that postgis_extensions_upgrade can handle
If you still see a mismatch after please let us know. I know we’ve made improvements in postgis_extensions_upgrade so 3.2.0 might not have all the new features.
Thanks,
Regina
_______________________________________________
postgis-users mailing list
postgi...@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/postgis-users
Where did you get your ubuntu package. Usually I get from apt.postgresql.org but I think for 14 the default for that is newer than 3.2 and even then 3.2.0 and 3.2.1 are very old micros.
Latest micro for PostGIS 3.2 is postgis-3.2.5.
Did you run :
apt update && apt upgrade
before installing?
If that doesn’t help then it’s a packaging issue that you should talk with your packager group about.
No. Well not advisable. People have run into a lot of issues, primarily around PROJ dependency.
The other reason why you might not want to is because most PostGIS dependency checks are done at runtime.
This isn’t an issue for GDAL so much, but more for GEOS.
So even though UbuntuGIS generally ships with a newer GEOS than main ubuntu repos, just because it says say GEOS 3.11, PostGIS will still only allow you to use functions allowed for the GEOS that apt postgresql org was compiled with.
I don’t think the complain is about WAGYU. That version info just happens to sit next to the message.
Have you tried doing
SELECT postgis_extensions_upgrade();
Already and what does it say?
From: postgis-users <postgis-us...@lists.osgeo.org> On Behalf Of Bo Guo
Sent: Thursday, September 7, 2023 4:52 PM
To: PostGIS Users Discussion <postgi...@lists.osgeo.org>
_______________________________________________