Skip to content

Commit 95f6217

Browse files
committed
Update pg_sphere--1.3.1--1.3.2.sql to reflect changes to spherepoly_rad() and spherepoly_deg().
1 parent b6d1705 commit 95f6217

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

upgrade_scripts/pg_sphere--1.3.1--1.3.2.sql.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,14 @@ CREATE FUNCTION spoly(float8[])
2222
RETURNS spoly
2323
AS 'MODULE_PATHNAME', 'spherepoly_rad'
2424
LANGUAGE 'c'
25-
IMMUTABLE STRICT;
25+
IMMUTABLE STRICT PARALLEL SAFE;
2626

2727
COMMENT ON FUNCTION spoly(float8[]) IS
2828
'creates spoly from array of numbers in radians';
2929

30+
-- add PARALLEL SAFE to spoly_deg(float8[])
31+
ALTER FUNCTION spoly_deg(float8[]) PARALLEL SAFE;
32+
3033
-- update comment on spoly_deg function
3134
COMMENT ON FUNCTION spoly_deg(float8[]) IS
3235
'creates spoly from array of numbers in degrees';

0 commit comments

Comments
 (0)