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 Tim Graham, 8 years ago

Keywords: 1.11 added
Triage Stage: UnreviewedAccepted

comment:2 by Akshesh Doshi, 8 years ago

Has patch: set
Owner: changed from nobody to Akshesh Doshi
Status: newassigned

comment:3 by Tim Graham, 8 years ago

Patch needs improvement: set

comment:4 by Akshesh Doshi, 8 years ago

Patch needs improvement: unset

comment:5 by Tim Graham <timograham@…>, 8 years ago

In 4c7bf83c:

Refs #27097, #27098 -- Moved PostgreSQL index type introspection to get_constraints().

comment:6 by Tim Graham, 8 years ago

Patch needs improvement: set

Introspection doesn't seem to work on MySQL 5.5.

comment:7 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: assignedclosed

In dbccf16:

Fixed #27097 -- Added index type introspection to built-in db backends.

Note: See TracTickets for help on using tickets.
Back to Top