]> granicus.if.org Git - postgis/commitdiff
removed duplicative ST_Histogram function
authorBborie Park <bkpark at ucdavis.edu>
Mon, 16 May 2011 19:56:32 +0000 (19:56 +0000)
committerBborie Park <bkpark at ucdavis.edu>
Mon, 16 May 2011 19:56:32 +0000 (19:56 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7159 b70326c6-7e19-0410-871a-916f4a2858ee

raster/rt_pg/rtpostgis.sql.in.c

index 4b3b0158d41a3b9cca4348b491622b8501fbb9f5..1d8f2f4e8dd47489fc6680c5b7cda06332a68ad9 100644 (file)
@@ -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
 -----------------------------------------------------------------------