]> granicus.if.org Git - postgis/commitdiff
Code cleanup of uncorrected statement from r7170
authorBborie Park <bkpark at ucdavis.edu>
Tue, 17 May 2011 15:01:54 +0000 (15:01 +0000)
committerBborie Park <bkpark at ucdavis.edu>
Tue, 17 May 2011 15:01:54 +0000 (15:01 +0000)
Associated ticket is #954

git-svn-id: http://svn.osgeo.org/postgis/trunk@7171 b70326c6-7e19-0410-871a-916f4a2858ee

raster/rt_pg/rtpostgis.sql.in.c

index f337668c53c05027e9ae95847042e6e302550723..7d91e0a25623ca8f871268c29748b44bc0ed3193 100644 (file)
@@ -1225,7 +1225,7 @@ CREATE OR REPLACE FUNCTION st_astiff(rast raster, nbands int[], compression text
 
 CREATE OR REPLACE FUNCTION st_astiff(rast raster, nbands int[], compression text)
        RETURNS bytea
-       AS $$ RETURN st_astiff(st_band($1, $2), $3, NULL::text[], st_srtext($1)) $$
+       AS $$ SELECT st_astiff(st_band($1, $2), $3, st_srtext($1)) $$
        LANGUAGE 'SQL' IMMUTABLE STRICT;
 
 -----------------------------------------------------------------------