[postgis-devel] [PostGIS] #2073: Extension UPDATE: ERROR: cannot change name of input parameter "band"

PostGIS trac at osgeo.org
Wed Oct 31 02:17:57 PDT 2012


#2073: Extension UPDATE: ERROR:  cannot change name of input parameter "band"
--------------------+-------------------------------------------------------
 Reporter:  strk    |       Owner:  dustymugs    
     Type:  defect  |      Status:  new          
 Priority:  medium  |   Milestone:  PostGIS 2.1.0
Component:  raster  |     Version:  trunk        
 Keywords:          |  
--------------------+-------------------------------------------------------
 From:
 {{{
  POSTGIS="2.1.0SVN r10603"
  (core procs from "2.1.0SVN r10237" need upgrade) TOPOLOGY (topology procs
 from "2.1.0SVN r10237" need upgrade) RASTER (raster procs from "2.1.0SVN
 r10237" need upgrade)
 }}}

 You can not soft-upgrade to 2.1.0SVNnext:
 {{{
 pg21=# ALTER EXTENSION postgis UPDATE TO "2.1.0SVNnext";
 ERROR:  cannot change name of input parameter "band"
 }}}

 Sounds like a missing DROP of the function whose input parameter name was
 changed.

 Please think more before changing a parameter name.
 I know it is nice to have semantically correct param names, but it's a big
 obstacle to CREATE OR REPLACE FUNCTION.

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