diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2015-12-20 09:00:55 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2015-12-20 09:00:55 +0100 |
commit | a2190ac74dd4d7080b12bab90e552d7aa81209ef (patch) | |
tree | 8b31f38de9882d18df54cf8d9e0de74167a094eb /includes/installer/PostgresUpdater.php | |
parent | 15e69f7b20b6596b9148030acce5b59993b95a45 (diff) | |
parent | 257401d8b2cf661adf36c84b0e3fd1cf85e33c22 (diff) |
Merge branch 'mw-1.26'
Diffstat (limited to 'includes/installer/PostgresUpdater.php')
-rw-r--r-- | includes/installer/PostgresUpdater.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/includes/installer/PostgresUpdater.php b/includes/installer/PostgresUpdater.php index 6ac54360..e1063b0f 100644 --- a/includes/installer/PostgresUpdater.php +++ b/includes/installer/PostgresUpdater.php @@ -407,6 +407,8 @@ class PostgresUpdater extends DatabaseUpdater { array( 'addPgField', 'mwuser', 'user_password_expires', 'TIMESTAMPTZ NULL' ), array( 'changeFieldPurgeTable', 'l10n_cache', 'lc_value', 'bytea', "replace(lc_value,'\','\\\\')::bytea" ), + // 1.23.9 + array( 'rebuildTextSearch' ), // 1.24 array( 'addPgField', 'page_props', 'pp_sortkey', 'float NULL' ), @@ -947,4 +949,12 @@ END; $this->applyPatch( 'patch-tsearch2funcs.sql', false, "Rewriting tsearch2 triggers" ); } } + + protected function rebuildTextSearch() { + if ( $this->updateRowExists( 'patch-textsearch_bug66650.sql' ) ) { + $this->output( "...bug 66650 already fixed or not applicable.\n" ); + return true; + }; + $this->applyPatch( 'patch-textsearch_bug66650.sql', false, "Rebuilding text search for bug 66650" ); + } } |