Merge ~cjwatson/launchpad:db-oci-git-indexes into launchpad:db-devel
Proposed by
Colin Watson
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Colin Watson | ||||
Approved revision: | b27175e23cb7065615542a26f24b4b84981a5cc7 | ||||
Merge reported by: | Otto Co-Pilot | ||||
Merged at revision: | not available | ||||
Proposed branch: | ~cjwatson/launchpad:db-oci-git-indexes | ||||
Merge into: | launchpad:db-devel | ||||
Prerequisite: | ~cjwatson/launchpad:db-oci-git | ||||
Diff against target: |
83 lines (+77/-0) 1 file modified
database/schema/patch-2210-08-2.sql (+77/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
William Grant | db | Approve | |
Review via email: mp+377626@code.launchpad.net |
Commit message
Recreate GitRepository indexes for SPN/OCIPN
Description of the change
Previously we had a variety of indexes including (distribution, sourcepackagename) with non-NULL distribution but omitting the condition that sourcepackagename is also non-NULL. Replace each of these with a pair of indexes, one for non-NULL sourcepackagename and one for non-NULL ociprojectname.
This can be applied hot by adding CONCURRENTLY.
LP: #1847444
(I split this out from db-oci-git to allow cold/hot patch splitting.)
To post a comment you must log in.