[postgis-tickets] [PostGIS] #2560: view xxx depends on function st_union(geometry)
PostGIS
trac at osgeo.org
Sun Feb 23 23:16:11 PST 2014
#2560: view xxx depends on function st_union(geometry)
-----------------------------------+----------------------------------------
Reporter: strk | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.1.2
Component: build/upgrade/install | Version: 2.1.x
Keywords: |
-----------------------------------+----------------------------------------
Comment(by strk):
Overnight I've been thinking that the "source" version passed to
postgis_proc_upgrade.pl to generate the *upgrade_<current>_minor.sql
script is confusing, because a "minor" upgrade should be for upgrading
from any 2.0.0 to any 2.x.x, while 2.1.0 to 2.1.x would be a "micro"
upgrade.
The way I encoded it, instead, was to assume "source" was == "target" for
a "minor" upgrade, meaning that aggregates added in a minor release (for
example) would never be added by the upgrade script.
That said, I start wondering if we should do the version check at runtime,
using DO constructs.
Doing it at runtime would avoid proliferation of a lot of different X_to_Y
combination scripts
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2560#comment:31>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list