From 552206464ea1508449d3a42b2209fc6ab12de44e Mon Sep 17 00:00:00 2001 From: Javier Goizueta Date: Wed, 23 Dec 2015 12:50:04 +0100 Subject: [PATCH] Make strategy function public --- scripts-available/CDB_Overviews.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts-available/CDB_Overviews.sql b/scripts-available/CDB_Overviews.sql index 541bf1d..4390f04 100644 --- a/scripts-available/CDB_Overviews.sql +++ b/scripts-available/CDB_Overviews.sql @@ -288,14 +288,14 @@ $$ LANGUAGE PLPGSQL STABLE; -- Experimental Overview reduction method for point datasets. -- It clusters the points using a grid, then aggregates the point in each -- cluster into a point at the centroid of the clustered records. --- Scope: private. +-- Scope: public. -- Parameters: -- reloid original table (can be the base table of the dataset or an existing -- overview) from which the overview is being generated. -- ref_z Z level assigned to the original table -- overview_z Z level of the overview to be generated, must be smaller than ref_z -- Return value: Name of the generated overview table -CREATE OR REPLACE FUNCTION _CDB_GridCluster_Reduce_Strategy(reloid REGCLASS, ref_z INTEGER, overview_z INTEGER) +CREATE OR REPLACE FUNCTION CDB_GridCluster_Reduce_Strategy(reloid REGCLASS, ref_z INTEGER, overview_z INTEGER) RETURNS REGCLASS AS $$ DECLARE