From: Bborie Park Date: Mon, 16 May 2011 19:56:32 +0000 (+0000) Subject: removed duplicative ST_Histogram function X-Git-Tag: 2.0.0alpha1~1652 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e51d3d161dfcf3721043aea551f45bf7585c3fa1;p=postgis removed duplicative ST_Histogram function git-svn-id: http://svn.osgeo.org/postgis/trunk@7159 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/raster/rt_pg/rtpostgis.sql.in.c b/raster/rt_pg/rtpostgis.sql.in.c index 4b3b0158d..1d8f2f4e8 100644 --- a/raster/rt_pg/rtpostgis.sql.in.c +++ b/raster/rt_pg/rtpostgis.sql.in.c @@ -844,11 +844,6 @@ CREATE OR REPLACE FUNCTION st_approxhistogram(rast raster, nband int, sample_per AS $$ SELECT min, max, count, proportion FROM _st_histogram($1, $2, FALSE, $3, $4, NULL, FALSE) $$ LANGUAGE 'sql' IMMUTABLE STRICT; -CREATE OR REPLACE FUNCTION st_approxhistogram(rast raster, nband int, sample_percent double precision) - RETURNS SETOF histogram - AS $$ SELECT min, max, count, proportion FROM _st_histogram($1, $2, FALSE, $3, 0, NULL, FALSE) $$ - LANGUAGE 'sql' IMMUTABLE STRICT; - ----------------------------------------------------------------------- -- ST_Quantile and ST_ApproxQuantile -----------------------------------------------------------------------