Adding geometry types to function signature

This commit is contained in:
Stuart Lynn
2016-12-01 11:09:55 -05:00
committed by GitHub
parent 0748212610
commit fda5d93cf4
+2 -2
View File
@@ -11,8 +11,8 @@
-- --
-- Returns: Multipoint with the requested points -- Returns: Multipoint with the requested points
CREATE OR REPLACE FUNCTION CDB_DotDensity(g geometry, no_points integer, max_iter integer DEFAULT 1000) CREATE OR REPLACE FUNCTION CDB_DotDensity(g geometry(Polygon, 4326), no_points integer, max_iter integer DEFAULT 1000)
RETURNS SETOF geometry RETURNS SETOF geometry(Point, 4326)
AS $$ AS $$
DECLARE DECLARE
extent GEOMETRY; extent GEOMETRY;