Opened 8 years ago
Closed 8 years ago
#27097 closed New feature (fixed)
Add introspection for index type
Reported by: | Akshesh Doshi | Owned by: | Akshesh Doshi |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Normal | Keywords: | introspection db-indexes 1.11 |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | yes |
Easy pickings: | no | UI/UX: | no |
Description
Allow introspecting the type of index (e.g. btree, rtee). This is already implemented for postgres but is something that can be implemented for and leveraged by all backends.
This would be useful for writing tests while implementing new index type using the class based indexes. Also a requirement for it was felt while adding indexes to inspectdb (related discussion on mailing list).
Change History (7)
comment:1 by , 8 years ago
Keywords: | 1.11 added |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 8 years ago
Has patch: | set |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 8 years ago
Patch needs improvement: | set |
---|
comment:4 by , 8 years ago
Patch needs improvement: | unset |
---|
comment:6 by , 8 years ago
Patch needs improvement: | set |
---|
Introspection doesn't seem to work on MySQL 5.5.
Note:
See TracTickets
for help on using tickets.
PR: https://github.com/django/django/pull/7152