Do not use names for the aggregate params
This commit is contained in:
parent
889cd5c579
commit
b33ba2d294
@ -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}"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user