From: Bborie Park Date: Sun, 27 Jul 2014 17:17:17 +0000 (+0000) Subject: code cleanup X-Git-Tag: 2.2.0rc1~932 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e58251135b918b459e1a3fbb8f7f20692fc8971a;p=postgis code cleanup git-svn-id: http://svn.osgeo.org/postgis/trunk@12835 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/raster/rt_pg/rtpostgis.sql.in b/raster/rt_pg/rtpostgis.sql.in index 205bd907e..be8ca49a8 100644 --- a/raster/rt_pg/rtpostgis.sql.in +++ b/raster/rt_pg/rtpostgis.sql.in @@ -6618,8 +6618,6 @@ CREATE OR REPLACE FUNCTION st_clip( ) RETURNS raster AS $$ - DECLARE - contains boolean; BEGIN -- short-cut if geometry's extent fully contains raster's extent IF (nodataval IS NULL OR array_length(nodataval, 1) < 1) AND geom ~ ST_Envelope(rast) THEN