[postgis-tickets] [PostGIS] #4485: regrssion test to test postgis_extensions_upgrade
PostGIS
trac at osgeo.org
Tue Aug 20 05:17:51 PDT 2019
#4485: regrssion test to test postgis_extensions_upgrade
------------------------------------+---------------------------
Reporter: robe | Owner: strk
Type: task | Status: reopened
Priority: medium | Milestone: PostGIS 2.5.4
Component: build/upgrade/install | Version: trunk
Resolution: | Keywords:
------------------------------------+---------------------------
Changes (by strk):
* status: closed => reopened
* resolution: fixed =>
Comment:
I'm reopening because I didn't actually add any call to {{{
postgis_extensions_upgrade() }}} with my commit. That's still all to do.
What run_test.pl does at the moment is directly call {{{ ALTER EXTENSION
... UPDATE }}} when called with {{{ --extension }}} and {{{ --upgrade-path
}}}. What we would want is something to have it perform the upgrade using
the {{{ postgis_extensions_upgrade() }}} instead. What would a good switch
name for that feature be ? Maybe {{{ --upgrade-with-function }}} ? Note
that {{{ postgis_extensions_upgrade() }}} does not support a target
version, so cannot always honour a user-provided {{{ --upgrade-path }}}.
Also, it is not always available, and when is available we end up running
the _old_ version of it, not the new version.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4485#comment:5>
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