Opened 12 days ago

Last modified 39 hours ago

#28783 new New feature

Support for custom operator class for indexes

Reported by: vinay karanam Owned by: nobody
Component: Database layer (models, ORM) Version: 2.0
Severity: Normal Keywords: postgres, operator class
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This is an extension of #28077 to support specifying operator class for indexes.

Usage:

Index(fields=['jsonfield'], index_name='jsonb_idx', operator_class='jsonb_path_ops')

Change History (2)

comment:1 Changed 5 days ago by Tim Graham

Is this only supported on PostgreSQL? Of course, documentation would also be needed.

comment:2 Changed 39 hours ago by vinay karanam

AFAICT, this is only supported on psql. I am unable to find similar feature on other databases.

I've updated the corresponding documentation.

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