[postgis-devel] [PostGIS] #1343: raster Upgrade script doesn't work because of new type

PostGIS trac at osgeo.org
Fri Dec 2 22:35:10 PST 2011


#1343: raster Upgrade script doesn't work because of new type
-----------------------------+----------------------------------------------
  Reporter:  robe            |       Owner:  robe         
      Type:  defect          |      Status:  new          
  Priority:  high            |   Milestone:  PostGIS 2.0.0
 Component:  postgis raster  |     Version:  trunk        
Resolution:                  |    Keywords:               
-----------------------------+----------------------------------------------

Comment(by dustymugs):

 Oh.  The only reason ST_Band isn't variadic while ST_BandMetadata is is
 that when I wrote ST_Band, we were still supporting PGSQL 8.3.  Don't
 tempt me to go make ST_Band variadic ;-)

 I like the uber-flexibility that variadic parameters permit...

 ST_BandMetadata(rast, 1, 2, 3, 4, 5)

 or

 ST_BandMetadata(rast, VARIADIC ARRAY[1,2,3,4,5])

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