Index: trunk/phase3/includes/db/DatabasePostgres.php |
— | — | @@ -645,7 +645,7 @@ |
646 | 646 | $schema = '"' . $dbDetails[0] . '".'; |
647 | 647 | $table = $dbDetails [1]; |
648 | 648 | } else { |
649 | | - $schema = "\"{$wgDBmwschema}\"."; # keep old schema, but quote it. |
| 649 | + $schema = ""; # do NOT force the schema (due to temporary tables) |
650 | 650 | $table = $dbDetails[0]; |
651 | 651 | } |
652 | 652 | if ( $format != 'quoted' ) { |
— | — | @@ -659,11 +659,6 @@ |
660 | 660 | } |
661 | 661 | } |
662 | 662 | |
663 | | - # during installation wgDBmwschema is not set, so we would end up quering |
664 | | - # ""."table" => error. Erase the first part if wgDBmwschema is empty |
665 | | - if ( $schema == "\"\"." ) { |
666 | | - $schema = ""; |
667 | | - } |
668 | 663 | if ( isset( $wgSharedDB ) # We have a shared database (=> schema) |
669 | 664 | && isset( $wgSharedTables ) |
670 | 665 | && is_array( $wgSharedTables ) |