Index: trunk/phase3/maintenance/parserTests.inc |
— | — | @@ -414,7 +414,7 @@ |
415 | 415 | if (!(strcmp($db->getServerVersion(), '4.1') < 0 and stristr($db->getSoftwareLink(), 'MySQL'))) { |
416 | 416 | # Database that supports CREATE TABLE ... LIKE |
417 | 417 | global $wgDBtype; |
418 | | - if( $wgDBtype == 'PostgreSQL' ) { |
| 418 | + if( $wgDBtype == 'postgres' ) { |
419 | 419 | $def = 'INCLUDING DEFAULTS'; |
420 | 420 | } else { |
421 | 421 | $def = ''; |
Index: trunk/phase3/includes/SearchEngine.php |
— | — | @@ -195,7 +195,7 @@ |
196 | 196 | $class = $wgSearchType; |
197 | 197 | } elseif( $wgDBtype == 'mysql' ) { |
198 | 198 | $class = 'SearchMySQL4'; |
199 | | - } else if ( $wgDBtype == 'PostgreSQL' ) { |
| 199 | + } else if ( $wgDBtype == 'postgres' ) { |
200 | 200 | $class = 'SearchTsearch2'; |
201 | 201 | } else { |
202 | 202 | $class = 'SearchEngineDummy'; |
Index: trunk/phase3/includes/SpecialUndelete.php |
— | — | @@ -260,7 +260,7 @@ |
261 | 261 | |
262 | 262 | # Does this page already exist? We'll have to update it... |
263 | 263 | $article = new Article( $this->title ); |
264 | | - $options = ( $wgDBtype == 'PostgreSQL' ) |
| 264 | + $options = ( $wgDBtype == 'postgres' ) |
265 | 265 | ? '' // pg doesn't support this? |
266 | 266 | : 'FOR UPDATE'; |
267 | 267 | $page = $dbw->selectRow( 'page', |