Index: openacs-4/packages/cms/sql/postgresql/cms-forms.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/cms/sql/postgresql/cms-forms.sql,v
diff -u -N -r1.4 -r1.4.4.1
--- openacs-4/packages/cms/sql/postgresql/cms-forms.sql	22 May 2001 22:46:13 -0000	1.4
+++ openacs-4/packages/cms/sql/postgresql/cms-forms.sql	21 Jan 2003 13:48:57 -0000	1.4.4.1
@@ -404,6 +404,18 @@
     return 0; 
 end;' language 'plpgsql';
 
+create function cm_form_widget__set_attribute_param_value (varchar,varchar,varchar,integer,varchar,varchar)
+returns integer as '
+begin
+    return cm_form_widget__set_attribute_param_value($1, $2, $3, cast ($4 as varchar), $5, $6); 
+end;' language 'plpgsql';
+
+create function cm_form_widget__set_attribute_param_value (varchar,varchar,varchar,integer,varchar,varchar)
+returns integer as '
+begin
+    return cm_form_widget__set_attribute_param_value($1, $2, $3, cast ($4 as varchar), $5, $6); 
+end;' language 'plpgsql';
+
 -- show errors
 
 
