[postgis-tickets] [PostGIS] #2908: Cannot upgrade: cannot drop function st_summarystats(raster, integer, boolean) because other objects depend on it

PostGIS trac at osgeo.org
Tue Aug 26 07:35:41 PDT 2014


#2908: Cannot upgrade: cannot drop function
st_summarystats(raster,integer,boolean) because other objects depend on it
-----------------------------------+----------------------------------------
 Reporter:  strk                   |       Owner:  strk         
     Type:  defect                 |      Status:  new          
 Priority:  medium                 |   Milestone:  PostGIS 2.2.0
Component:  build/upgrade/install  |     Version:  trunk        
 Keywords:  raster                 |  
-----------------------------------+----------------------------------------

Comment(by strk):

 Alright, the return datatype changed, which is the reason why the function
 is dropped.
 BUT, we should make the drop dependent on source version, driven by
 postgis_proc_upgrade.pl.

 When a function signature changed in an way that is not compatible with
 "CREATE OR REPLACE FUNCTION", we should note it with a "Last Something"
 documenting the incompatibility.

 See also #2722

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2908#comment:2>
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