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. 8.9.x core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php \Drupal\Core\Database\Driver\pgsql\Schema::maxIdentifierLength
  3. 10 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/modules/pgsql/src/Driver/Database/pgsql/Schema.php, line 45

Class

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

Namespace

Drupal\pgsql\Driver\Database\pgsql

Code

protected $maxIdentifierLength;

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