Stuart Bishop has proposed merging lp:~stub/launchpad/pending-db-changes into 
lp:launchpad/db-devel.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)
Related bugs:
  Bug #618392 in Launchpad itself: "Distribution:+patches slow 10% of requests 
timing out"
  https://bugs.launchpad.net/launchpad/+bug/618392

For more details, see:
https://code.launchpad.net/~stub/launchpad/pending-db-changes/+merge/60029

Specialized index for Distribution:+patches
-- 
https://code.launchpad.net/~stub/launchpad/pending-db-changes/+merge/60029
Your team Launchpad code reviewers is requested to review the proposed merge of 
lp:~stub/launchpad/pending-db-changes into lp:launchpad/db-devel.
=== added file 'database/schema/patch-2208-65-1.sql'
--- database/schema/patch-2208-65-1.sql	1970-01-01 00:00:00 +0000
+++ database/schema/patch-2208-65-1.sql	2011-05-05 08:56:49 +0000
@@ -0,0 +1,7 @@
+SET client_min_messages = ERROR;
+
+create index bug__new_patches__idx on bug(id)
+where latest_patch_uploaded IS NOT NULL AND duplicateof IS NULL;
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2208, 65, 1);
+

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help   : https://help.launchpad.net/ListHelp

Reply via email to