Skip to content

Commit ea57feb

Browse files
committed
Add PARALLEL SAFE to spoly(float8[]) and spoly_deg(float8[]).
1 parent 924a9e5 commit ea57feb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pgs_polygon.sql.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ CREATE FUNCTION spoly(float8[])
943943
RETURNS spoly
944944
AS 'MODULE_PATHNAME', 'spherepoly_rad'
945945
LANGUAGE 'c'
946-
IMMUTABLE STRICT;
946+
IMMUTABLE STRICT PARALLEL SAFE;
947947

948948
COMMENT ON FUNCTION spoly(float8[]) IS
949949
'creates spoly from array of numbers in radians';
@@ -952,7 +952,7 @@ CREATE FUNCTION spoly_deg(float8[])
952952
RETURNS spoly
953953
AS 'MODULE_PATHNAME', 'spherepoly_deg'
954954
LANGUAGE 'c'
955-
IMMUTABLE STRICT;
955+
IMMUTABLE STRICT PARALLEL SAFE;
956956

957957
COMMENT ON FUNCTION spoly_deg(float8[]) IS
958958
'creates spoly from array of numbers in degrees';

0 commit comments

Comments
 (0)