This is an automated email from the ASF dual-hosted git repository. jgemignani pushed a commit to branch PG12 in repository https://gitbox.apache.org/repos/asf/age.git
commit b2d695c22341eedd82e3d1a076b0c90c93f8e335 Author: Hunaid Sohail <[email protected]> AuthorDate: Sat Dec 24 06:45:37 2022 +0500 Changed volatility category of functions age_atan2, age_degrees, age_radians from STABLE to IMMUTABLE (#412) Reasons: - These math functions will not scan/lookup database - They simply take the input (int, float or numeric), applies operation on it and returns the result - They cannot modify database - They are guaranteed to return the same results given the same arguments forever --- age--1.1.1.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/age--1.1.1.sql b/age--1.1.1.sql index 367f5d9..77b3067 100644 --- a/age--1.1.1.sql +++ b/age--1.1.1.sql @@ -3686,21 +3686,21 @@ AS 'MODULE_PATHNAME'; CREATE FUNCTION ag_catalog.age_atan2(variadic "any") RETURNS agtype LANGUAGE c -STABLE +IMMUTABLE PARALLEL SAFE AS 'MODULE_PATHNAME'; CREATE FUNCTION ag_catalog.age_degrees(variadic "any") RETURNS agtype LANGUAGE c -STABLE +IMMUTABLE PARALLEL SAFE AS 'MODULE_PATHNAME'; CREATE FUNCTION ag_catalog.age_radians(variadic "any") RETURNS agtype LANGUAGE c -STABLE +IMMUTABLE PARALLEL SAFE AS 'MODULE_PATHNAME';
