[postgis-users] problems while upgrading postgis

Sandro Santilli strk at kbt.io
Wed Nov 9 03:06:15 PST 2016


On Wed, Nov 09, 2016 at 11:44:53AM +0100, Paolo Importuni wrote:
> Hi strk,
> I've just tried but it complains that
> "ERROR:  type "raster" does not exist"

This is because postgis _EXTENSION_ is forced to have
also raster in it :(

So the fix is for you to load raster script for 2.0.0

psql -f `pg_config --sharedir`/contrib/postgis-2.0/rtpostgis.sql <yourdb>

--strk;


More information about the postgis-users mailing list