Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291491

_field_sql_storage_indexname() should not prefix the index name with the table name

$
0
0

using postgresql i encountered an error about index name truncated for being too long
and resulted in a failure to create a table for index naming collision
i found that both _field_sql_storage_indexname and http://api.drupal.org/api/drupal/includes!database!pgsql!schema.inc/function/DatabaseSchema_pgsql%3A%3A_createIndexSql/7">_createIndexSql prefixes the name with the table name

i believe the solution is for _field_sql_storage_indexname to simply return $index


Viewing all articles
Browse latest Browse all 291491

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>