]> granicus.if.org Git - postgis/commitdiff
Removed the type bandmetadata as per #1343.
authorBborie Park <bkpark at ucdavis.edu>
Fri, 2 Dec 2011 15:13:44 +0000 (15:13 +0000)
committerBborie Park <bkpark at ucdavis.edu>
Fri, 2 Dec 2011 15:13:44 +0000 (15:13 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8295 b70326c6-7e19-0410-871a-916f4a2858ee

raster/rt_pg/rtpostgis.sql.in.c

index fa5d8b1d568e134607d8eefcdf257313fdde8464..79fc95e140dae24426d6557911af1fbfb46dba08 100644 (file)
@@ -2088,20 +2088,16 @@ CREATE OR REPLACE FUNCTION st_bandpixeltype(rast raster, band integer DEFAULT 1)
     AS 'MODULE_PATHNAME','RASTER_getBandPixelTypeName'
     LANGUAGE 'C' IMMUTABLE STRICT;
 
-CREATE TYPE bandmetadata AS (
-       bandnum int,
-       pixeltype text,
-       hasnodata boolean,
-       nodatavalue double precision,
-       isoutdb boolean,
-       path text
-);
-
 CREATE OR REPLACE FUNCTION st_bandmetadata(
        rast raster,
-       VARIADIC band int[]
+       VARIADIC band int[],
+       OUT bandnum int,
+       OUT pixeltype text,
+       OUT hasnodata boolean,
+       OUT nodatavalue double precision,
+       OUT isoutdb boolean,
+       OUT path text
 )
-       RETURNS SETOF bandmetadata
        AS 'MODULE_PATHNAME','RASTER_bandmetadata'
        LANGUAGE 'C' IMMUTABLE STRICT;