Index: openacs-4/packages/cms/sql/postgresql/cms-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/cms/sql/postgresql/cms-create.sql,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/cms/sql/postgresql/cms-create.sql	22 May 2001 22:46:13 -0000	1.5
+++ openacs-4/packages/cms/sql/postgresql/cms-create.sql	21 Dec 2002 22:29:41 -0000	1.6
@@ -172,8 +172,20 @@
                                    );
 end;' language 'plpgsql';
 
+create function content_module__new (varchar,varchar,integer,integer,integer)
+returns integer as '
+begin
+    return content_module__new ($1, $2, cast ($3 as varchar), $4, $5);
+end;' language 'plpgsql';
+
+create function content_module__new (varchar,varchar,integer,integer,integer)
+returns integer as '
+begin
+    return content_module__new ($1, $2, cast ($3 as varchar), $4, $5);
+end;' language 'plpgsql';
+
 -- function new
-create function content_module__new (varchar,varchar,varchar,integer,integer,integer,timestamp,integer,varchar,varchar)
+create function content_module__new (varchar,varchar,varchar,integer,integer,integer,timestamp with time zone,integer,varchar,varchar)
 returns integer as '
 declare
   p_name                        alias for $1;  
