Schema::$maxIdentifierLength
Same name and namespace in other branches
- 9 core/modules/pgsql/src/Driver/Database/pgsql/Schema.php \Drupal\pgsql\Driver\Database\pgsql\Schema::maxIdentifierLength
- 10 core/modules/pgsql/src/Driver/Database/pgsql/Schema.php \Drupal\pgsql\Driver\Database\pgsql\Schema::maxIdentifierLength
- 11.x core/modules/pgsql/src/Driver/Database/pgsql/Schema.php \Drupal\pgsql\Driver\Database\pgsql\Schema::maxIdentifierLength
The maximum allowed length for index, primary key and constraint names.
Value will usually be set to a 63 chars limit but PostgreSQL allows to higher this value before compiling, so we need to check for that.
Type: int
File
-
core/
lib/ Drupal/ Core/ Database/ Driver/ pgsql/ Schema.php, line 38
Class
- Schema
- PostgreSQL implementation of <a href="/api/drupal/core%21lib%21Drupal%21Core%21Database%21Schema.php/class/Schema/8.9.x" title="Provides a base implementation for Database Schema." class="local">\Drupal\Core\Database\Schema</a>.
Namespace
Drupal\Core\Database\Driver\pgsqlCode
protected $maxIdentifierLength;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.