Schema::$maxIdentifierLength

Same name and namespace 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. 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/modules/pgsql/src/Driver/Database/pgsql/Schema.php, line 44

Class

Schema
PostgreSQL implementation of <a href="/api/drupal/core%21lib%21Drupal%21Core%21Database%21Schema.php/class/Schema/10" title="Provides a base implementation for Database Schema." class="local">\Drupal\Core\Database\Schema</a>.

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.