Do not use names for the aggregate params

This commit is contained in:
Raul Ochoa 2016-06-10 18:24:43 +02:00
parent 889cd5c579
commit b33ba2d294

View File

@ -43,11 +43,9 @@ BEGIN
END END
$$ LANGUAGE plpgsql; $$ LANGUAGE plpgsql;
CREATE AGGREGATE CDB_WeightedMean(the_geom geometry(Point, 4326), weight NUMERIC)( CREATE AGGREGATE CDB_WeightedMean(geometry(Point, 4326), NUMERIC)(
SFUNC = CDB_WeightedMeanS, SFUNC = CDB_WeightedMeanS,
FINALFUNC = CDB_WeightedMeanF, FINALFUNC = CDB_WeightedMeanF,
STYPE = Numeric[], STYPE = Numeric[],
INITCOND = "{0.0,0.0,0.0}" INITCOND = "{0.0,0.0,0.0}"
); );