[postgis-devel] Upgrade PostGIS from 2.5.4 to 3.1.2

Regina Obe lr at pcorp.us
Wed Jan 26 13:04:51 PST 2022


> > Do the symlink dance, which thankfully is not required anymore after
> > everything is on PostGIS 3+
> 
> Or "unfortunately" is not required, when you really want to allow
different
> versions of PostGIS running in different databases or even cluters of the
> same PostgreSQL version...
> 
> --strk;
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-devel
[Regina Obe] 
Then you compile yourself with the --with-library-minor-version and can
enjoy as much freedom as you want :)
Even when that was the norm, you were still stuck with a newer GEOS and
Proj, so you could never truly, leave your older version untouched.

In addition, having the lib not change, means you are not fully upgraded
until you run the 

SELECT postgis_extensions_upgrade()  or ALTER EXTENSION ..

Which means for basic use, you can easily test with just the new lib, and
back out of an upgrade by uninstalling the new version and reinstalling the
old version.






More information about the postgis-devel mailing list