Opened 5 months ago

Last modified 5 months ago

#28928 new New feature

Add support for expression indexes for GinIndex

Reported by: James Howe Owned by:
Component: contrib.postgres Version: 1.11
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I'm envisaging an api such that

GinIndex(fields=['jdoc.tags[0]'])

would generate

CREATE INDEX jdoc_gin ON mymodel USING GIN ((jdoc -> 'tags' -> 0));

Change History (1)

comment:1 Changed 5 months ago by Tim Graham

Summary: Support expression indexes for GinIndexAdd support for expression indexes for GinIndex
Triage Stage: UnreviewedAccepted
Note: See TracTickets for help on using tickets.
Back to Top