I have a postgres 9.1 database with postgis 2.1, and I recently needed to add sfcgal to it, so i rebuilt postgis 2.1, but I can't find out how to update the postgis extension in postgres without dropping all data. Is there a way to do that ?
ALTER EXTENSION postgis UPDATE;
returns a notice saying i'm already at version 2.1.0
Thanks for any tips
psql -d database_name -a -f /usr/local/Cellar/postgis/2.1.7_1/share/postgis/sfcgal.sqlandALTER EXTENSION postgis UPDATE;? Otherwise nice answer ;) I think the other answer will be more relevant in the future. – n1000 Oct 13 '15 at 09:57