#27135: Standardise type value returned by introspection.get_constraints for
indexes
----------------------------------------------+---------------------------
Reporter: akki | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Database layer (models, ORM) | Version: master
Severity: Normal | Keywords: introspection
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------------------+---------------------------
Currently, Django supports introspection of index type for PostgreSQL and
would be [https://code.djangoproject.com/ticket/27097#ticket supporting it
for other backends] as well in future.
Currently the value returned for `type` is arbitrary but it would be
better to set a standard values associated with each index types (like
using `Index.suffix` as suggested by Tim Graham). This discussion might
make it more clear - https://github.com/django/django/pull/7046
#discussion-diff-74431956
--
Ticket URL: <https://code.djangoproject.com/ticket/27135>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/047.2ffd6ab1fef462edb9edbb19a6081e1a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.