[postgis-devel] [PostGIS] #646: Make functions support named argument call syntax

PostGIS trac at osgeo.org
Sat Oct 23 23:20:24 PDT 2010


#646: Make functions support named argument call syntax
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey       
     Type:  defect   |      Status:  new           
 Priority:  medium   |   Milestone:  PostGIS Future
Component:  postgis  |     Version:  trunk         
 Keywords:           |  
---------------------+------------------------------------------------------
 I have started to do this with the raster functions by making sure the
 function names given match the documented ones.

 Now that both PostgreSQL 9.0 and 9.1 support named function arguments I
 can only assume peopel will begin to think the argument names we have
 documented in the manual can be used with this syntax.  Of course in most
 cases they can not since many of our functions except for the raster ones
 even use names.

 By named argument call syntax I mean this

 {{{
 SELECT ST_AddBand(rast:= myrast, pixeltype:='8BUI');
 }}}

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