From 7b846be4c4513e129a877f485eb975a9eec0d115 Mon Sep 17 00:00:00 2001
From: Taylor Otwell <taylorotwell@gmail.com>
Date: Sat, 5 Jan 2013 13:15:59 -0600
Subject: [PATCH] Allow multiple schemas in pgsql.

---
 laravel/database/connectors/postgres.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/laravel/database/connectors/postgres.php b/laravel/database/connectors/postgres.php
index d4a5434..8920f48 100644
--- a/laravel/database/connectors/postgres.php
+++ b/laravel/database/connectors/postgres.php
@@ -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;
--
libgit2 0.26.0