Opened 11 years ago
Last modified 10 years ago
#2531 closed enhancement
Autogenerate the extension unpackaged script — at Initial Version
Reported by: | robe | Owned by: | strk |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.2.0 |
Component: | build | Version: | master |
Keywords: | Cc: |
Description
Right now before release, we generate the unpackaged scripts used to
CREATE EXTENSION postgis FROM unpackaged;
by installing postgis with CREATE EXTENSION and then running a query to see what is in the package. strk is working on script to generate the unpackaged script by sourcing the .sql files we generate. This will simplify our packaging logic and also ensure the unpackaged is always in synch at all times.
For testing the quality of it I propose as part of installcheck
- Count number of objects before PostGIS install
- Install PostGIS using non-extension scripts
- Run the generated CREATE EXTENSION postgis FROM unpackaged;
- Run DROP EXTENSION postgis;
- The number of objects in data install should be the same as 1
Note:
See TracTickets
for help on using tickets.