fix pre-7.3 bug
authorchriskl <chriskl>
Tue, 2 Sep 2003 05:59:50 +0000 (05:59 +0000)
committerchriskl <chriskl>
Tue, 2 Sep 2003 05:59:50 +0000 (05:59 +0000)
classes/database/Postgres.php

index 00d4731da399da5c7aaba39af14fdc96718eb207..ee9ce2b782c00caa5253d4fac8459be35a5b6bed 100755 (executable)
@@ -4,7 +4,7 @@
  * A class that implements the DB interface for Postgres
  * Note: This class uses ADODB and returns RecordSets.
  *
- * $Id: Postgres.php,v 1.140 2003/08/26 05:59:49 chriskl Exp $
+ * $Id: Postgres.php,v 1.141 2003/09/02 05:59:50 chriskl Exp $
  */
 
 // @@@ THOUGHT: What about inherits? ie. use of ONLY???
@@ -500,7 +500,7 @@ class Postgres extends BaseDB {
                $this->clean($table);
                
                // @@ Need to add proper comments here
-               $sql = "SELECT relname AS tablename, tableowner, NULL AS tablecomment FROM pg_tables WHERE tablename='{$table}'";
+               $sql = "SELECT tablename, tableowner, NULL AS tablecomment FROM pg_tables WHERE tablename='{$table}'";
                return $this->selectSet($sql);
        }