From: jollytoad Date: Fri, 10 Sep 2004 13:21:39 +0000 (+0000) Subject: Hide implicit schemas from search_path, (ie. pg_catalog) X-Git-Tag: REL_3-5-1~50 X-Git-Url: http://git.postgresql.org/gitweb/static/%7B%7Bpgdulink%28?a=commitdiff_plain;h=b91bbe41c2c7ee1d7808fdf00f1ec08b4e664ff4;p=phppgadmin.git Hide implicit schemas from search_path, (ie. pg_catalog) it wasn't very useful. Probably best that a user has to add pg_catalog themselves if required. --- diff --git a/classes/database/Postgres73.php b/classes/database/Postgres73.php index 4663a4c4..34d7d8cf 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.136 2004/09/07 14:04:20 jollytoad Exp $ + * $Id: Postgres73.php,v 1.137 2004/09/10 13:21:39 jollytoad Exp $ */ // @@@ THOUGHT: What about inherits? ie. use of ONLY??? @@ -102,7 +102,7 @@ class Postgres73 extends Postgres72 { * @return Array of schema names */ function getSearchPath() { - $sql = 'SELECT current_schemas(true) AS search_path'; + $sql = 'SELECT current_schemas(false) AS search_path'; return $this->phpArray($this->selectField($sql, 'search_path')); }