Index: trunk/phase3/includes/db/CloneDatabase.php |
— | — | @@ -94,7 +94,7 @@ |
95 | 95 | $this->changePrefix( $this->newTablePrefix ); |
96 | 96 | $newTableName = $this->db->tableName( $tbl ); |
97 | 97 | |
98 | | - if( $this->dropCurrentTables ) { |
| 98 | + if( $this->dropCurrentTables && !in_array( $this->db->getType(), array( 'postgres') ) ) { |
99 | 99 | $this->db->dropTable( $newTableName, __METHOD__ ); |
100 | 100 | } |
101 | 101 | |