From 06bb669d4c36fda19cd1dd6b8fe39e09a21fbb94 Mon Sep 17 00:00:00 2001 From: Javier Goizueta Date: Tue, 5 Apr 2016 13:22:07 +0200 Subject: [PATCH] Add comment Clarify the reason why some functions are dropped at the end of the file and not where their new definitions are. --- scripts-available/CDB_Overviews.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts-available/CDB_Overviews.sql b/scripts-available/CDB_Overviews.sql index b622e78..b80be3d 100644 --- a/scripts-available/CDB_Overviews.sql +++ b/scripts-available/CDB_Overviews.sql @@ -739,6 +739,9 @@ BEGIN END; $$ LANGUAGE PLPGSQL; +-- Here are some older signatures of these functions, no longar in use. +-- They must be droped here, after the (new) definition of the function `CDB_CreateOverviews` +-- because that function used to contain references to them in the default argument values. DROP FUNCTION IF EXISTS _CDB_Feature_Density_Ref_Z_Strategy(REGCLASS); DROP FUNCTION IF EXISTS _CDB_GridCluster_Reduce_Strategy(REGCLASS,INTEGER,INTEGER); DROP FUNCTION IF EXISTS _CDB_Sampling_Reduce_Strategy(REGCLASS,INTEGER,INTEGER);