Schema::$maxIdentifierLength

Same name in other branches
  1. 9 core/modules/pgsql/src/Driver/Database/pgsql/Schema.php \Drupal\pgsql\Driver\Database\pgsql\Schema::maxIdentifierLength
  2. 10 core/modules/pgsql/src/Driver/Database/pgsql/Schema.php \Drupal\pgsql\Driver\Database\pgsql\Schema::maxIdentifierLength
  3. 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 \Drupal\Core\Database\Schema.

Namespace

Drupal\Core\Database\Driver\pgsql

Code

protected $maxIdentifierLength;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.