[postgis-devel] [PostGIS] #961: Reduce number of functions by making many have default args

PostGIS trac at osgeo.org
Wed May 18 04:19:35 PDT 2011


#961: Reduce number of functions by making many have default args
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  robe         
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 I've already done this with ST_AsX3D.  I'd like to conquer all the output
 functions (adding as Paul suggested to the upgrade scripts -- a drop
 clause).

 But since we don't have an upgrade script for pre-PostGIS 2.0, I suppose
 this would prove difficult.

 I could throw it in the uninstall_legacy.sql I am working on which I think
 we will require people to run anyway to get rid of all those legacy
 functions that get restored when they restore their backup on top of a
 pristine PostGIS 2.0 install.

 One I've been really eying is that ST_AsGML which has 15 (count 15
 permutations).  That should reduce us down to about 4 or 5 for that one.

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