[postgis-tickets] [PostGIS] #3081: Upgrade from 2.0.5: ERROR: type "rastbandarg" already exists

PostGIS trac at osgeo.org
Tue Mar 17 02:24:05 PDT 2015


#3081: Upgrade from 2.0.5: ERROR:  type "rastbandarg" already exists
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey
     Type:  defect   |      Status:  new    
 Priority:  medium   |   Milestone:         
Component:  postgis  |     Version:  2.1.x  
 Keywords:           |  
---------------------+------------------------------------------------------
 Upgrading from 2.0.5 to 2.2.0 using extension fails with:
 {{{
 postgis_reg=# select postgis_version();
             postgis_version
 ---------------------------------------
  2.0 USE_GEOS=1 USE_PROJ=1 USE_STATS=1
 (1 row)

 postgis_reg=# ALTER EXTENSION postgis UPDATE TO '2.2.0dev';
 ERROR:  type "rastbandarg" already exists
 CONTEXT:  SQL statement " CREATE TYPE rastbandarg AS (
         rast raster,
         nband integer
 );
  "
 PL/pgSQL function "inline_code_block" line 4 at EXECUTE statement
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/3081>
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