[postgis-devel] [PostGIS] #1948: Can't upgrade from 2.0.1 to 2.1 with extensions

PostGIS trac at osgeo.org
Mon Aug 6 06:41:04 PDT 2012


#1948: Can't upgrade from 2.0.1 to 2.1 with extensions
-----------------------------------+----------------------------------------
 Reporter:  robe                   |       Owner:  robe         
     Type:  defect                 |      Status:  new          
 Priority:  medium                 |   Milestone:  PostGIS 2.1.0
Component:  build/upgrade/install  |     Version:  2.0.x        
 Keywords:                         |  
-----------------------------------+----------------------------------------
 I thought I had tested this, but guess not.  This just effects extensions.

 If I'm on 2.0.1 and I do this:

 {{{
 ALTER EXTENSION postgis UPDATE TO "2.1.0SVN";
 }}}

 I get "cannot drop type summarystats because extension postgis depends on
 it".

 To get around these issues, I explicitly add these drop entries to

 extensions\postgis\sql_bits\remove_from_extension.sql.in

 Ideally it would be nice to have a single location for this so we don't
 have to state it twice, but for now I'll do the same for these dropped
 types.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1948>
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-devel mailing list