From db996165a5f59795a577b45eba655f22853182c6 Mon Sep 17 00:00:00 2001 From: jollytoad Date: Thu, 15 Jul 2004 08:02:11 +0000 Subject: [PATCH] Added 'pg_catalog' to end of search path in setSchema(). --- classes/database/Postgres73.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/database/Postgres73.php b/classes/database/Postgres73.php index b4454580..2b1babf8 100644 --- a/classes/database/Postgres73.php +++ b/classes/database/Postgres73.php @@ -4,7 +4,7 @@ * A class that implements the DB interface for Postgres * Note: This class uses ADODB and returns RecordSets. * - * $Id: Postgres73.php,v 1.128 2004/07/14 10:24:26 jollytoad Exp $ + * $Id: Postgres73.php,v 1.129 2004/07/15 08:02:11 jollytoad Exp $ */ // @@@ THOUGHT: What about inherits? ie. use of ONLY??? @@ -63,7 +63,7 @@ class Postgres73 extends Postgres72 { * @return 0 success */ function setSchema($schema) { - $status = $this->setSearchPath(array($schema)); + $status = $this->setSearchPath(array($schema, 'pg_catalog')); if ($status == 0) { $this->clean($schema); $this->_schema = $schema; -- 2.39.5