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
$$ LANGUAGE plpgsql;
CREATE AGGREGATE CDB_WeightedMean(the_geom geometry(Point, 4326), weight NUMERIC)(
CREATE AGGREGATE CDB_WeightedMean(geometry(Point, 4326), NUMERIC)(
SFUNC = CDB_WeightedMeanS,
FINALFUNC = CDB_WeightedMeanF,
STYPE = Numeric[],
INITCOND = "{0.0,0.0,0.0}"
);