Index: openacs-4/packages/acs-kernel/sql/postgresql/postgresql.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/postgresql.sql,v diff -u -r1.39 -r1.40 --- openacs-4/packages/acs-kernel/sql/postgresql/postgresql.sql 4 Jun 2006 00:45:38 -0000 1.39 +++ openacs-4/packages/acs-kernel/sql/postgresql/postgresql.sql 6 Jul 2008 12:08:13 -0000 1.40 @@ -132,7 +132,7 @@ else '','' || typname end into v_one_type from pg_type - where oid = v_one_arg; + where oid = v_one_arg::integer; v_funcdef := v_funcdef || v_one_type; end loop; v_funcdef := v_funcdef || '')'';