Opened 13 years ago
Last modified 9 years ago
#31248 new enhancement
Split PostGIS variants into separate ports
Reported by: | dark.panda+macports@… | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | cooljeanius (Eric Gallager) | |
Port: | postgis |
Description
Since the base PostgreSQL ports are separate and can be run alongside one another, it would be helpful if the PostGIS port, or any port relying on PostgreSQL, were port-based instead of variant-based. I sometimes have to run multiple versions of PostgreSQL, but I don't think I can easily run multiple versions of PostGIS since you'd need to install the PostGIS port multiple times, each with a different variant, and multiple variants can't be enabled concurrently.
It would be helpful if there were multiple PostGIS ports, i.e. postgis90, postgis91, etc., allowing for separate PostGIS installs for each PostgreSQL install.
Change History (3)
comment:1 Changed 12 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to stromnov@… |
---|---|
Port: | postgis added |
Type: | defect → enhancement |
Version: | 2.0.3 |
comment:2 Changed 10 years ago by cooljeanius (Eric Gallager)
Cc: | egall@… added |
---|
comment:3 Changed 9 years ago by flarik (Frodo Larik)
I would opt for this to be an defect, because you cannot run an pg_upgrade when using the postgis extension. It needs to be enabled in both database versions and you can't have it active in both databases at the same time because of the port restriction.
Current workaround is:
- have postgis enabled in the old db
- backup the db
- drop the db
- disable postgis extension for the old db
- active postgis port for new db
- restore backup
Cc Me!