Index: openacs-4/packages/acs-kernel/sql/postgresql/apm-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/apm-create.sql,v
diff -u -r1.79.2.3 -r1.79.2.4
--- openacs-4/packages/acs-kernel/sql/postgresql/apm-create.sql	19 Aug 2019 07:00:18 -0000	1.79.2.3
+++ openacs-4/packages/acs-kernel/sql/postgresql/apm-create.sql	10 Jul 2023 09:29:26 -0000	1.79.2.4
@@ -1800,13 +1800,12 @@
 
 
 
--- added
-select define_function_args('apm__set_value','package_key,parameter_name,attr_value');
+select define_function_args('apm__set_global_value','package_key,parameter_name,attr_value');
 
 --
--- procedure apm__set_value/3
+-- procedure apm__set_global_value/3
 --
-CREATE OR REPLACE FUNCTION apm__set_value(
+CREATE OR REPLACE FUNCTION apm__set_global_value(
    set_value__package_key varchar,
    set_value__parameter_name varchar,
    set_value__attr_value varchar
@@ -1840,6 +1839,19 @@
 END;
 $$ LANGUAGE plpgsql;
 
+--
+-- legacy procedure apm__set_value/3
+-- Replaced now by apm__set_global_value
+---
+CREATE OR REPLACE FUNCTION apm__set_value(
+   set_value__package_key varchar,
+   set_value__parameter_name varchar,
+   set_value__attr_value varchar
+) RETURNS integer AS $$
+BEGIN
+    return apm__set_global_value(set_value__package_key, set_value__parameter_name, set_value__attr_value);
+END;    
+$$ LANGUAGE plpgsql;
 
 
 -- added
