[postgis-users] adding geos to existing installation

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Fri Apr 20 01:47:42 PDT 2007


On Fri, 2007-04-20 at 18:45 +1000, Rob Agar wrote:
> After the rebuild + reinstall, do I just run lwpostgis.sql on the
> same 
> database, or will I need to drop the db and recreate from scratch?

Not sure off the top of my head, but it strikes me as being a good idea
to recreate the database from scratch. If you keep the old database, you
can always use pg_dump -t to manually export tables and pg_restore to
re-import them into the new one. However, it's only really worth doing
if the datasets are quite large - it's much easier to simply re-run
pgsql2shp / ogr2ogr against the new database if you have the source data
around...


Kind regards,

Mark.





More information about the postgis-users mailing list