added new class variable 'dbFields' that maps our standard field names to the ones...
authorchriskl <chriskl>
Tue, 12 Feb 2002 06:55:03 +0000 (06:55 +0000)
committerchriskl <chriskl>
Tue, 12 Feb 2002 06:55:03 +0000 (06:55 +0000)
classes/database/Postgres71.php

index 34239d76e731009b341d09105c6e9b762fd0638c..86bf0330acaa4a0d90a3808dfce4caea52362db4 100644 (file)
@@ -4,7 +4,7 @@
  * A class that implements the DB interface for Postgres\r
  * Note: This class uses ADODB and returns RecordSets.\r
  *\r
- * $Id: Postgres71.php,v 1.1 2002/02/11 09:32:48 chriskl Exp $\r
+ * $Id: Postgres71.php,v 1.2 2002/02/12 06:55:03 chriskl Exp $\r
  */\r
 \r
 // @@@ THOUGHT: What about inherits? ie. use of ONLY???\r
@@ -13,6 +13,8 @@ include_once('../classes/database/BaseDB.php');
 \r
 class Postgres71 extends BaseDB {\r
 \r
+       var $dbFields = array('dbname' => 'datname', 'dbcomment' => 'description');\r
+\r
        function Postgres71($host, $port, $database, $user, $password) {\r
                $this->BaseDB('postgres7');\r
 \r