[postgis-tickets] [PostGIS] #5330: postgis_extensions_upgrade() bail out if you dn't have all extensions

PostGIS trac at osgeo.org
Fri Jan 27 08:48:50 PST 2023


#5330: postgis_extensions_upgrade() bail out if you dn't have all extensions
-----------------------------------+---------------------------
 Reporter:  strk                   |      Owner:  strk
     Type:  defect                 |     Status:  new
 Priority:  medium                 |  Milestone:  PostGIS 3.3.3
Component:  build/upgrade/install  |    Version:  3.3.x
 Keywords:                         |
-----------------------------------+---------------------------
 If you enable less extensions than you had in a database, when you upgrade
 using `postgis_extensions_upgrade()` nothing is upgraded.
 Rather you get error like:

 {{{
 strk=# select postgis_extensions_upgrade();
 NOTICE:  Updating extension postgis 3.3.2
 NOTICE:  Updating extension postgis_sfcgal 3.3.2
 ERROR:  extension "postgis_sfcgal" has no update path from version "ANY"
 to version "3.4.0dev"
 }}}

 I guess it would be nice for the function to STILL do partial upgrade
 (upgrade extensions that can be upgraded) -- maybe you realize you don't
 need/want the others and you drop them instead ?
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5330>
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