diff -Naur -xcontent.module cck/content.install ../cck/content.install
--- cck/content.install	2009-07-15 00:17:05.000000000 +0200
+++ ../cck/content.install	2010-09-08 19:06:08.000000000 +0200
@@ -131,7 +131,7 @@
 
   $schema['content_node_field'] = array(
     'fields' => array(
-      'field_name'      => array('type' => 'varchar', 'length' => 32, 'not null' => TRUE, 'default' => ''),
+      'field_name'      => array('type' => 'varchar', 'length' => 63, 'not null' => TRUE, 'default' => ''),
       'type'            => array('type' => 'varchar', 'length' => 127, 'not null' => TRUE, 'default' => ''),
       'global_settings' => array('type' => 'text', 'size' => 'medium', 'not null' => TRUE, 'serialize' => TRUE),
       'required'        => array('type' => 'int', 'size' => 'tiny', 'not null' => TRUE, 'default' => 0),
@@ -146,7 +146,7 @@
   );
   $schema['content_node_field_instance'] = array(
     'fields' => array(
-      'field_name'       => array('type' => 'varchar', 'length' => 32, 'not null' => TRUE, 'default' => ''),
+      'field_name'       => array('type' => 'varchar', 'length' => 63, 'not null' => TRUE, 'default' => ''),
       'type_name'        => array('type' => 'varchar', 'length' => 32, 'not null' => TRUE, 'default' => ''),
       'weight'           => array('type' => 'int', 'not null' => TRUE, 'default' => 0),
       'label'            => array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => ''),
@@ -618,4 +618,24 @@
     $ret['#finished'] = 1 - count($sandbox['tables']) / $sandbox['count'];
   }
   return $ret;
+}
+
+/**
+ * Raise field_name limit to 63 characters
+ */
+function content_update_6011() {
+  $ret = array();
+  
+  switch ($GLOBALS['db_type']) {
+  	case 'pgsql':
+      $ret[] = update_sql("ALTER TABLE {content_node_field} ALTER COLUMN field_name TYPE VARCHAR(63);");
+      $ret[] = update_sql("ALTER TABLE {content_node_field_instance} ALTER COLUMN field_name TYPE VARCHAR(63);");
+      break;
+    case 'mysql':
+    case 'mysqli':
+      $ret[] = update_sql("ALTER TABLE {content_node_field} CHANGE field_name field_name VARCHAR(63);");
+      $ret[] = update_sql("ALTER TABLE {content_node_field_instance} CHANGE field_name field_name VARCHAR(63);");
+      break;
+  }
+  return $ret;	
 }
\ Pas de fin de ligne à la fin du fichier.
diff -Naur -xcontent.module cck/includes/content.admin.inc ../cck/includes/content.admin.inc
--- cck/includes/content.admin.inc	2009-11-02 22:21:24.000000000 +0100
+++ ../cck/includes/content.admin.inc	2010-09-08 19:08:36.000000000 +0200
@@ -258,9 +258,9 @@
         '#field_suffix' => '</span>&lrm;',
         '#attributes' => array('dir'=>'ltr'),
         '#size' => 15,
-        // Field names are limited to 32 characters including the 'field_'
+        // Field names are limited to 63 characters including the 'field_'
         // prefix which is 6 characters long.
-        '#maxlength' => 26,
+        '#maxlength' => 57,
         '#description' => t('Field name (a-z, 0-9, _)'),
       ),
       'type' => array(
@@ -332,9 +332,9 @@
         '#field_suffix' => '</span>&lrm;',
         '#attributes' => array('dir'=>'ltr'),
         '#size' => 15,
-        // Group names are limited to 32 characters including the 'group_'
+        // Group names are limited to 63 characters including the 'group_'
         // prefix which is 6 characters long.
-        '#maxlength' => 26,
+        '#maxlength' => 57,
         '#description' => t('Group name (a-z, 0-9, _)'),
       ),
       'group_option' => array(
@@ -405,8 +405,8 @@
       if (!preg_match('!^field_[a-z0-9_]+$!', $field_name)) {
         form_set_error('_add_new_field][field_name', t('Add new field: the field name %field_name is invalid. The name must include only lowercase unaccentuated letters, numbers, and underscores.', array('%field_name' => $field_name)));
       }
-      if (strlen($field_name) > 32) {
-        form_set_error('_add_new_field][field_name', t('Add new field: the field name %field_name is too long. The name is limited to 32 characters, including the \'field_\' prefix.', array('%field_name' => $field_name)));
+      if (strlen($field_name) > 63) {
+        form_set_error('_add_new_field][field_name', t('Add new field: the field name %field_name is too long. The name is limited to 63 characters, including the \'field_\' prefix.', array('%field_name' => $field_name)));
       }
       // A field named 'field_instance' would cause a tablename clash with {content_field_instance}
       if ($field_name == 'field_instance') {
diff -Naur -xcontent.module cck/modules/fieldgroup/fieldgroup.install ../cck/modules/fieldgroup/fieldgroup.install
--- cck/modules/fieldgroup/fieldgroup.install	2008-12-26 12:51:46.000000000 +0100
+++ ../cck/modules/fieldgroup/fieldgroup.install	2010-09-10 10:36:12.000000000 +0200
@@ -63,7 +63,7 @@
     'fields' => array(
       'type_name'  => array('type' => 'varchar', 'length' => 32, 'not null' => TRUE, 'default' => ''),
       'group_name' => array('type' => 'varchar', 'length' => 32, 'not null' => TRUE, 'default' => ''),
-      'field_name' => array('type' => 'varchar', 'length' => 32, 'not null' => TRUE, 'default' => ''),
+      'field_name' => array('type' => 'varchar', 'length' => 64, 'not null' => TRUE, 'default' => ''),
     ),
     'primary key' => array('type_name', 'group_name', 'field_name'),
   );
@@ -313,4 +313,22 @@
   $ret = array();
   $ret[] = update_sql("DELETE FROM {content_group_fields} WHERE (field_name, type_name) NOT IN (SELECT field_name, type_name FROM {content_node_field_instance})");
   return $ret;
+}
+
+/**
+ * Raise field_name limit to 63 characters
+ */
+function fieldgroup_update_6008() {
+  $ret = array();
+  
+  switch ($GLOBALS['db_type']) {
+  	case 'pgsql':
+      $ret[] = update_sql("ALTER TABLE {content_group_fields} ALTER COLUMN field_name TYPE VARCHAR(63);");
+      break;
+    case 'mysql':
+    case 'mysqli':
+      $ret[] = update_sql("ALTER TABLE {content_group_fields} CHANGE field_name field_name VARCHAR(63);");
+      break;
+  }
+  return $ret;	
 }
\ Pas de fin de ligne à la fin du fichier.
diff -Naur -xcontent.module cck/modules/fieldgroup/fieldgroup.module ../cck/modules/fieldgroup/fieldgroup.module
--- cck/modules/fieldgroup/fieldgroup.module	2010-06-09 04:10:01.000000000 +0200
+++ ../cck/modules/fieldgroup/fieldgroup.module	2010-09-08 19:08:58.000000000 +0200
@@ -396,8 +396,8 @@
     if (!preg_match('!^group_[a-z0-9_]+$!', $group_name)) {
       $errors['group_name'][] = t('The group name %group_name is invalid. The name must include only lowercase unaccentuated letters, numbers, and underscores.', array('%group_name' => $group_name));
     }
-    if (strlen($group_name) > 32) {
-      $errors['group_name'][] = t('The group name %group_name is too long. The name is limited to 32 characters, including the \'group_\' prefix.', array('%group_name' => $group_name));
+    if (strlen($group_name) > 63) {
+      $errors['group_name'][] = t('The group name %group_name is too long. The name is limited to 63 characters, including the \'group_\' prefix.', array('%group_name' => $group_name));
     }
 
     // Group name already exists.
