Opened 12 years ago

Closed 12 years ago

#2073 closed defect (fixed)

Extension UPDATE: ERROR: cannot change name of input parameter "band"

Reported by: strk Owned by: Bborie Park
Priority: medium Milestone: PostGIS 2.1.0
Component: raster Version: master
Keywords: Cc:

Description

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.

Change History (1)

comment:1 by Bborie Park, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in r10607

Note: See TracTickets for help on using tickets.