launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #08331
[Merge] lp:~stub/launchpad/db-cleanups into lp:launchpad/db-devel
Stuart Bishop has proposed merging lp:~stub/launchpad/db-cleanups into lp:launchpad/db-devel with lp:~stub/launchpad/pending-db-changes as a prerequisite.
Requested reviews:
Robert Collins (lifeless): db
Stuart Bishop (stub): db
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~stub/launchpad/db-cleanups/+merge/107961
Switch the index on BugTaskFlat.fti from GIST to GIN. This is a preliminary to switching all of our full text indexes from GIST to GIN.
--
https://code.launchpad.net/~stub/launchpad/db-cleanups/+merge/107961
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~stub/launchpad/db-cleanups into lp:launchpad/db-devel.
=== added file 'database/schema/patch-2209-21-0.sql'
--- database/schema/patch-2209-21-0.sql 1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-21-0.sql 2012-05-30 12:26:31 +0000
@@ -0,0 +1,5 @@
+SET client_min_messages = ERROR;
+
+CREATE INDEX bugtaskflat__fti__idx2 ON BugTaskFlat USING GIN (fti);
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 21, 0);
=== added file 'database/schema/patch-2209-21-1.sql'
--- database/schema/patch-2209-21-1.sql 1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-21-1.sql 2012-05-30 12:26:31 +0000
@@ -0,0 +1,6 @@
+SET client_min_messages = ERROR;
+
+DROP INDEX bugtaskflat__fti__idx;
+ALTER INDEX bugtaskflat__fti__idx2 RENAME TO bugtaskflat__fti__idx;
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 21, 1);
Follow ups