Hide implicit schemas from search_path, (ie. pg_catalog)
authorjollytoad <jollytoad>
Fri, 10 Sep 2004 13:21:39 +0000 (13:21 +0000)
committerjollytoad <jollytoad>
Fri, 10 Sep 2004 13:21:39 +0000 (13:21 +0000)
it wasn't very useful. Probably best that a user has to add
pg_catalog themselves if required.

classes/database/Postgres73.php

index 4663a4c4e21f53abd22b34402645cea8f0fcdfcd..34d7d8cf39d727fae91a2c46cf8a9643cd0d9411 100644 (file)
@@ -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'));
        }