Commit 7b846be4 authored by Taylor Otwell's avatar Taylor Otwell

Allow multiple schemas in pgsql.

parent c65f284c
......@@ -48,7 +48,7 @@ class Postgres extends Connector {
// the database to set the search path.
if (isset($config['schema']))
{
$connection->prepare("SET search_path TO '{$config['schema']}'")->execute();
$connection->prepare("SET search_path TO {$config['schema']}")->execute();
}
return $connection;
......
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