fix set view for cascade
authorchriskl <chriskl>
Mon, 5 May 2003 14:45:18 +0000 (14:45 +0000)
committerchriskl <chriskl>
Mon, 5 May 2003 14:45:18 +0000 (14:45 +0000)
classes/database/Postgres.php

index 2b62add2d63aa956007b797b2fe2455139ceb886..1b1966a4fc694adc5bf5024d1a7f6706e8ed2436 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.89 2003/05/01 03:27:54 chriskl Exp $
+ * $Id: Postgres.php,v 1.90 2003/05/05 14:45:18 chriskl Exp $
  */
 
 // @@@ THOUGHT: What about inherits? ie. use of ONLY???
@@ -1406,7 +1406,7 @@ class Postgres extends BaseDB {
                $status = $this->beginTransaction();
                if ($status != 0) return -1;
                
-               $status = $this->dropView($viewname);
+               $status = $this->dropView($viewname, false);
                if ($status != 0) {
                        $this->rollbackTransaction();
                        return -2;