[postgis-tickets] [PostGIS] #2665: Extension upgrade needs to selectively drop from extension aggregates and functions

PostGIS trac at osgeo.org
Fri Mar 7 08:53:34 PST 2014


#2665: Extension upgrade needs to selectively drop from extension aggregates and
functions
-----------------------------------+----------------------------------------
 Reporter:  robe                   |       Owner:  strk         
     Type:  defect                 |      Status:  new          
 Priority:  medium                 |   Milestone:  PostGIS 2.1.2
Component:  build/upgrade/install  |     Version:  2.1.x        
 Keywords:                         |  
-----------------------------------+----------------------------------------

Comment(by strk):

 how about removing the "extension" word from that function and having it
 do extension removal if within extension context and direct removal
 otherwise ?
 Such function could very well go into the upgrade script.

 As the DROP for obsoleted functions would not belong in the
 postgis_proc_upgrade.pl script, there's still a place for your
 postprocessing. I'd rather make the postgis_proc_upgrade.pl output
 compatible with your sed script.

 Even better if your sed script becomes a standalone filter taking are of
 _any_ drop.

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