wiki.techinc.nl/maintenance/postgres
Jeff c1371e7f54 PostgreSQL: Fix text search on moved pages
When a page is updated under PostgreSQL, there is code to
de-index all but the most recent version of the page.  But
when a page is moved, it was accidentally de-indexing the
most recent version as well, because rev_text_id is not
incremented in that case.  A simple tweak to the SQL
fixes that.

I added code to the update script to find pages
previously corrupted by this problem and reindex them.

Bug: 66650
Change-Id: I52e1bbbd8592be5e7c7383c225e6b4c19bbe5b9e
2015-02-17 18:15:23 -08:00
..
archives PostgreSQL: Fix text search on moved pages 2015-02-17 18:15:23 -08:00
compare_schemas.pl Drop ss_total_views and page_counter fields from MediaWiki 2015-01-09 19:01:01 +00:00
mediawiki_mysql2postgres.pl chmod 755 bash & Perl files, chmod 644 .css file 2014-10-30 18:25:16 +00:00
tables.sql PostgreSQL: Drop unneeded foreign key constraint 2015-01-30 13:15:29 -08:00
update-keys.sql PostgreSQL: Fix text search on moved pages 2015-02-17 18:15:23 -08:00