W3cubDocs

/Drupal 8

protected property 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 39

Class

Schema
PostgreSQL implementation of \Drupal\Core\Database\Schema.

Namespace

Drupal\Core\Database\Driver\pgsql

Code

protected $maxIdentifierLength;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Driver!pgsql!Schema.php/property/Schema::maxIdentifierLength/8.1.x