From 5285943dbf24585539028c98bb19487e975af7e6 Mon Sep 17 00:00:00 2001 From: Javier Goizueta Date: Mon, 1 Feb 2016 18:56:55 +0100 Subject: [PATCH] Fix function declaration for create_from_unpackaged.sh use The script create_from_unpackaged.sh does not support function declarations where the signature (name and parameter list of the function, including parentheses) is not on a single line. --- scripts-available/CDB_Overviews.sql | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts-available/CDB_Overviews.sql b/scripts-available/CDB_Overviews.sql index 0673045..53be511 100644 --- a/scripts-available/CDB_Overviews.sql +++ b/scripts-available/CDB_Overviews.sql @@ -642,11 +642,7 @@ $$ LANGUAGE PLPGSQL; -- created by the strategy must have the same columns -- as the base table and in the same order. -- Return value: Array with the names of the generated overview tables -CREATE OR REPLACE FUNCTION CDB_CreateOverviews( - reloid REGCLASS, - refscale_strategy regproc DEFAULT '_CDB_Feature_Density_Ref_Z_Strategy'::regproc, - reduce_strategy regproc DEFAULT '_CDB_GridCluster_Reduce_Strategy'::regproc -) +CREATE OR REPLACE FUNCTION CDB_CreateOverviews(reloid REGCLASS, refscale_strategy regproc DEFAULT '_CDB_Feature_Density_Ref_Z_Strategy'::regproc, reduce_strategy regproc DEFAULT '_CDB_GridCluster_Reduce_Strategy'::regproc) RETURNS text[] AS $$ DECLARE