launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #08476
[Merge] lp:~stevenk/launchpad/spph-packageupload-index into lp:launchpad
Steve Kowalik has proposed merging lp:~stevenk/launchpad/spph-packageupload-index into lp:launchpad.
Requested reviews:
Robert Collins (lifeless): db
Stuart Bishop (stub): db
For more details, see:
https://code.launchpad.net/~stevenk/launchpad/spph-packageupload-index/+merge/108515
Add an index on SourcePackagePublishingHistory.packageupload to allow the garbo job in https://code.launchpad.net/~stevenk/launchpad/set-spph-packageupload/+merge/108513 to run faster than glacially.
--
https://code.launchpad.net/~stevenk/launchpad/spph-packageupload-index/+merge/108515
Your team Launchpad code reviewers is subscribed to branch lp:launchpad.
=== added file 'database/schema/patch-2209-15-3.sql'
--- database/schema/patch-2209-15-3.sql 1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-15-3.sql 2012-06-04 03:39:19 +0000
@@ -0,0 +1,8 @@
+-- Copyright 2012 Canonical Ltd. This software is licensed under the
+-- GNU Affero General Public License version 3 (see the file LICENSE).
+
+SET client_min_messages=ERROR;
+
+CREATE INDEX sourcepackagepublishinghistory__packageupload__idx ON sourcepackagepublishinghistory USING btree (id) WHERE packageupload IS NULL;
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 15, 3);
Follow ups