Commit b1441d42 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge branch 'DBAL-453'

parents 5fc5d296 fa4b9224
......@@ -58,10 +58,12 @@ class PostgreSqlSchemaManager extends AbstractSchemaManager
{
$params = $this->_conn->getParams();
$schema = explode(",", $this->_conn->fetchColumn('SHOW search_path'));
if (isset($params['user'])) {
$schema = str_replace('"$user"', $params['user'], $schema);
}
return $schema;
return array_map('trim', $schema);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment