From b5427c65c8e34fd20be936ebefdd8036b3eadec0 Mon Sep 17 00:00:00 2001 From: Javier Goizueta Date: Fri, 29 Apr 2016 08:46:01 +0200 Subject: [PATCH] Drop aggregate to be defined Otherwise future versions will fail to recreate the aggregate --- scripts-available/CDB_Overviews.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts-available/CDB_Overviews.sql b/scripts-available/CDB_Overviews.sql index fd4eeb4..978f853 100644 --- a/scripts-available/CDB_Overviews.sql +++ b/scripts-available/CDB_Overviews.sql @@ -591,7 +591,7 @@ $$ $$ LANGUAGE SQL IMMUTABLE; --- Tell Postgres how to use our aggregate +DROP AGGREGATE IF EXISTS _cdb_mode(anyelement); CREATE AGGREGATE _cdb_mode(anyelement) ( SFUNC=array_append, STYPE=anyarray,