[postgis-users] [postgis-devel] postgis extension sans raster (only for folks who can't compile with raster support) - PSC Vote and developer/packager comments please
lr at pcorp.us
Tue Oct 27 20:51:21 PDT 2015
> Also it seems like you should be able to create a meta package called "postgis" that installs all the extensions or allow the user to install individual extensions via postgis-<name>.
> I think the extension mechanism is still fairly new so maybe raising some of the issues with postgresql will help in the longer term.
> Well you sorta can in PostgreSQL 9.6, you can create a skeleton postgis-mega extension that does nothing but says it requires postgis, postgis_topology, postgis_whatever
> And then install with
> CREATE EXTENSION postgis-mega CASCADE;
> And all dependencies would be installed.
> However you'd still need to keep the versions in synch when you upgrade since the extension system doesn't currently
> have a way to specify which minimum version is required of an extension or alternative extensions. That's something that has been discussed on postgres list in past.
I should double-check 9.6, they might have a companion
ALTER EXTENSION postgis-mega UPDATE CASCADE;
That would bring all dependent extensions up to the latest version. In which case yes you can also update them together.
More information about the postgis-users