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 991f5282f32c23884fb4466f3520fe7859d935e2
Author: Muhammad Zahid <[email protected]>
AuthorDate: Sun Dec 25 16:04:41 2022 +0500

    Changed age_split, age_replace, age_sin from STABLE TO IMMUTABLE (#402)
    
    Generally reasons for changing signature of these functions are:
    1.These functions do not need to perform database lookup.
    2.These functions neither perform database modification.
    3.These functions are guaranteed to return the same constant results given 
the same argument.
---
 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 77b3067..dbe9503 100644
--- a/age--1.1.1.sql
+++ b/age--1.1.1.sql
@@ -3620,14 +3620,14 @@ AS 'MODULE_PATHNAME';
 CREATE FUNCTION ag_catalog.age_split(variadic "any")
 RETURNS agtype
 LANGUAGE c
-STABLE
+IMMUTABLE
 PARALLEL SAFE
 AS 'MODULE_PATHNAME';
 
 CREATE FUNCTION ag_catalog.age_replace(variadic "any")
 RETURNS agtype
 LANGUAGE c
-STABLE
+IMMUTABLE
 PARALLEL SAFE
 AS 'MODULE_PATHNAME';
 
@@ -3637,7 +3637,7 @@ AS 'MODULE_PATHNAME';
 CREATE FUNCTION ag_catalog.age_sin(variadic "any")
 RETURNS agtype
 LANGUAGE c
-STABLE
+IMMUTABLE
 PARALLEL SAFE
 AS 'MODULE_PATHNAME';
 

Reply via email to