Rename Ref. Z strategy function

It's not that *dummy* anymore, so choose a more descriptive name
This commit is contained in:
Javier Goizueta
2015-12-28 17:47:57 +01:00
parent 8d1bbc63fa
commit 4afc427008
+2 -2
View File
@@ -113,7 +113,7 @@ $$ LANGUAGE PLPGSQL STABLE;
-- Parameters: -- Parameters:
-- reloid: oid of the input table. It must be a cartodbfy'ed table. -- reloid: oid of the input table. It must be a cartodbfy'ed table.
-- Return value: Z level as an integer -- Return value: Z level as an integer
CREATE OR REPLACE FUNCTION _CDB_Dummy_Ref_Z_Strategy(reloid REGCLASS) CREATE OR REPLACE FUNCTION _CDB_Feature_Density_Ref_Z_Strategy(reloid REGCLASS)
RETURNS INTEGER RETURNS INTEGER
AS $$ AS $$
DECLARE DECLARE
@@ -389,7 +389,7 @@ $$ LANGUAGE PLPGSQL;
-- Return value: Array with the names of the generated overview tables -- Return value: Array with the names of the generated overview tables
CREATE OR REPLACE FUNCTION CDB_CreateOverviews( CREATE OR REPLACE FUNCTION CDB_CreateOverviews(
reloid REGCLASS, reloid REGCLASS,
refscale_strategy regproc DEFAULT '_CDB_Dummy_Ref_Z_Strategy'::regproc, refscale_strategy regproc DEFAULT '_CDB_Feature_Density_Ref_Z_Strategy'::regproc,
reduce_strategy regproc DEFAULT '_CDB_Dummy_Reduce_Strategy'::regproc reduce_strategy regproc DEFAULT '_CDB_Dummy_Reduce_Strategy'::regproc
) )
RETURNS text[] RETURNS text[]