function DatabaseSchema_pgsql::dropIndex

Overrides DatabaseSchema::dropIndex

File

includes/database/pgsql/schema.inc, line 694

Class

DatabaseSchema_pgsql

Code

public function dropIndex($table, $name) {
    if (!$this->indexExists($table, $name)) {
        return FALSE;
    }
    $this->connection
        ->query('DROP INDEX ' . $this->ensureIdentifiersLength($table, $name, 'idx'));
    return TRUE;
}

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