#30783: Support gin__int_ops option for PostgreSQL intarray.
-------------------------------------+-------------------------------------
Reporter: Dmitry Mugtasimov | Owner: nobody
Type: New feature | Status: closed
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: postgresql | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):
* status: new => closed
* type: Uncategorized => New feature
* version: 2.2 => master
* resolution: => invalid
Comment:
It is already possible. You can create a custom
[https://docs.djangoproject.com/en/2.2/ref/contrib/postgres/indexes/#ginindex
GinIndex] with
[https://docs.djangoproject.com/en/2.2/ref/models/indexes/#opclasses
opclasses] using the `Meta.indexes` option:
{{{
GinIndex(fields=['myfield'],
name='my_index_with_custom_operator_class', opclasses=['gin__int_ops'])
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30783#comment:1>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.40d0dff57751ba27750655ee29744e90%40djangoproject.com.