| 12 | |
| 13 | This will make a bunch of other things easier. People wanting to install in a postgis schema or migrate their existing to postgis schema. |
| 14 | |
| 15 | {{{ |
| 16 | ALTER EXTENSION postgis SET SCHEMA postgis; |
| 17 | }}} |
| 18 | |
| 19 | And upgrading will be easier as well so to upgrade from an old 2.0.0 that wasn't packaged as an extension would be in theory as simple as. |
| 20 | |
| 21 | |
| 22 | {{{ |
| 23 | CREATE EXTENSION postgis VERSION '2.0' FROM unpackaged; |
| 24 | }}} |
| 25 | |
| 26 | Still unclear how our minor upgrade would work or if we would have to label our version VERSION '2.0.0' to allow people to upgrade easily. |
| 27 | |
| 28 | |
| 29 | {{{ |
| 30 | ALTER EXTENSION postgis UPDATE TO '2.0.1' |
| 31 | }}} |