Index: trunk/phase3/includes/DatabasePostgres.php |
— | — | @@ -105,6 +105,9 @@ |
106 | 106 | function searchableIPs() { |
107 | 107 | return true; |
108 | 108 | } |
| 109 | + function functionalIndexes() { |
| 110 | + return true; |
| 111 | + } |
109 | 112 | |
110 | 113 | static function newFromParams( $server, $user, $password, $dbName, $failFunction = false, $flags = 0) |
111 | 114 | { |
Index: trunk/phase3/includes/Database.php |
— | — | @@ -448,6 +448,13 @@ |
449 | 449 | return false; |
450 | 450 | } |
451 | 451 | |
| 452 | + /** |
| 453 | + * Returns true if this database can use functional indexes |
| 454 | + */ |
| 455 | + function functionalIndexes() { |
| 456 | + return false; |
| 457 | + } |
| 458 | + |
452 | 459 | /**#@+ |
453 | 460 | * Get function |
454 | 461 | */ |