function DatabaseSchema_pgsql::getTempNamespaceName

Gets PostgreSQL's temporary namespace name.

Return value

string PostgreSQL's temporary namespace anme.

1 call to DatabaseSchema_pgsql::getTempNamespaceName()
DatabaseSchema_pgsql::queryTableInformation in includes/database/pgsql/schema.inc
Fetch the list of blobs and sequences used on a table.

File

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

Class

DatabaseSchema_pgsql

Code

protected function getTempNamespaceName() {
  if (!isset($this->tempNamespaceName)) {
    $this->tempNamespaceName = $this->connection
      ->query('SELECT nspname FROM pg_namespace WHERE oid = pg_my_temp_schema()')
      ->fetchField();
  }
  return $this->tempNamespaceName;
}

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