Index: openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql,v
diff -u -r1.51 -r1.52
--- openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql	11 Mar 2008 14:22:49 -0000	1.51
+++ openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql	10 Jul 2008 15:35:31 -0000	1.52
@@ -773,8 +773,8 @@
   select table_name into v_table_name from acs_object_types
     where object_type = refresh_view__content_type;
 
-  if length(v_table_name) > 25 then
-      raise exception ''Table name cannot be longer than 25 characters, because that causes conflicting rules when we create the views.'';
+  if length(v_table_name) > 57 then
+      raise exception ''Table name cannot be longer than 57 characters, because that causes conflicting rules when we create the views.'';
   end if;
 
   -- create the input view (includes content columns)
