From 95f6217c152ae17fdb6c390022dcf40efe086a76 Mon Sep 17 00:00:00 2001 From: Ed Sabol Date: Mon, 30 Oct 2023 22:36:47 -0400 Subject: [PATCH] Update pg_sphere--1.3.1--1.3.2.sql to reflect changes to spherepoly_rad() and spherepoly_deg(). --- upgrade_scripts/pg_sphere--1.3.1--1.3.2.sql.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/upgrade_scripts/pg_sphere--1.3.1--1.3.2.sql.in b/upgrade_scripts/pg_sphere--1.3.1--1.3.2.sql.in index aaeb0a9..a38db9e 100644 --- a/upgrade_scripts/pg_sphere--1.3.1--1.3.2.sql.in +++ b/upgrade_scripts/pg_sphere--1.3.1--1.3.2.sql.in @@ -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';