Skip to content

Commit

Permalink
Update pg_sphere--1.3.1--1.3.2.sql to reflect changes to spherepoly_r…
Browse files Browse the repository at this point in the history
…ad() and spherepoly_deg().
  • Loading branch information
esabol committed Oct 31, 2023
1 parent b6d1705 commit 95f6217
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion upgrade_scripts/pg_sphere--1.3.1--1.3.2.sql.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@ CREATE FUNCTION spoly(float8[])
RETURNS spoly
AS 'MODULE_PATHNAME', 'spherepoly_rad'
LANGUAGE 'c'
IMMUTABLE STRICT;
IMMUTABLE STRICT PARALLEL SAFE;

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

-- add PARALLEL SAFE to spoly_deg(float8[])
ALTER FUNCTION spoly_deg(float8[]) PARALLEL SAFE;

-- update comment on spoly_deg function
COMMENT ON FUNCTION spoly_deg(float8[]) IS
'creates spoly from array of numbers in degrees';

0 comments on commit 95f6217

Please sign in to comment.