Allow multiple schemas in pgsql.

This commit is contained in:
Taylor Otwell
2013-01-05 13:15:59 -06:00
parent c65f284c25
commit 7b846be4c4

View File

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