Drop aggregate to be defined
Otherwise future versions will fail to recreate the aggregate
This commit is contained in:
@@ -591,7 +591,7 @@ $$
|
|||||||
$$
|
$$
|
||||||
LANGUAGE SQL IMMUTABLE;
|
LANGUAGE SQL IMMUTABLE;
|
||||||
|
|
||||||
-- Tell Postgres how to use our aggregate
|
DROP AGGREGATE IF EXISTS _cdb_mode(anyelement);
|
||||||
CREATE AGGREGATE _cdb_mode(anyelement) (
|
CREATE AGGREGATE _cdb_mode(anyelement) (
|
||||||
SFUNC=array_append,
|
SFUNC=array_append,
|
||||||
STYPE=anyarray,
|
STYPE=anyarray,
|
||||||
|
|||||||
Reference in New Issue
Block a user