fix bug on 7.3 servers where listing schemas was completely broke. Required show...
authorxzilla <xzilla>
Mon, 25 Jul 2005 21:41:46 +0000 (21:41 +0000)
committerxzilla <xzilla>
Mon, 25 Jul 2005 21:41:46 +0000 (21:41 +0000)
classes/database/Postgres73.php

index 026cdea03b5818aa4b56cb81f721a46dfaa421a9..db76c892593225458e9e2468f84b280fae8f2ef8 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.146 2005/06/28 15:26:30 chriskl Exp $
+ * $Id: Postgres73.php,v 1.147 2005/07/25 21:41:46 xzilla Exp $
  */
 
 // @@@ THOUGHT: What about inherits? ie. use of ONLY???
@@ -123,7 +123,7 @@ class Postgres73 extends Postgres72 {
                        if (isset($slony)) {
                                $temp = $slony->slony_schema;
                                $this->clean($temp);
-                               $and .= " AND npsname != '{$temp}'";
+                               $and .= " AND nspname != '{$temp}'";
                        }
                }
                else $and = "AND nspname !~ '^pg_t(emp_[0-9]+|oast)$'";
@@ -135,6 +135,7 @@ class Postgres73 extends Postgres72 {
                return $this->selectSet($sql);
        }
 
+
        /**
         * Return all information relating to a schema
         * @param $schema The name of the schema