Merge lp:~stevenk/launchpad/branch-trgm-indicies into lp:launchpad
Proposed by
Steve Kowalik
Status: | Merged |
---|---|
Approved by: | Steve Kowalik |
Approved revision: | no longer in the source branch. |
Merged at revision: | 16493 |
Proposed branch: | lp:~stevenk/launchpad/branch-trgm-indicies |
Merge into: | lp:launchpad |
Diff against target: |
15 lines (+11/-0) 1 file modified
database/schema/patch-2209-43-0.sql (+11/-0) |
To merge this branch: | bzr merge lp:~stevenk/launchpad/branch-trgm-indicies |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stuart Bishop (community) | db | Approve | |
Review via email: mp+148082@code.launchpad.net |
Commit message
Two new GIN trigram indices on Branch.name and Branch.unique_name to help branch searching.
Description of the change
Create GIN trigram indicies on Branch.name and Branch.unique_name to help the searching queries that are behind the branch vocabs.
To post a comment you must log in.
Yup.
I'm rather surprised we don't have an existing index on name to drop, but we don't. We need to keep the existing unique_name index as it is enforcing the unique constraint.