Provide an unpackaged from 1.5 script
|Reported by:||robe||Owned by:||robe|
If someone is running 9.1 with 1.5, they can experience a fairly clean upgrade if their old 1.5 is repackaged as an extension.
Then the upgrade process would be before they backup 1)
CREATE EXTENSION postgis VERSION "1.5.x" FROM unpackaged;
2) run backup 3) create a new database with:
CREATE EXTENSION postgis;
4) Execute legacy_minal.sql 5) restore your backup on new db
By packaging an unpackaged PostGIS 1.5 as an extension — all the postgis functions, tables, views from old would be guaranteed not to come back and mess up a clean postgis 2.0 install and you can still experience a clean upgrade without perl.