Opened 6 years ago

Last modified 3 years ago

#28928 closed New feature

Add support for expression indexes for GinIndex — at Version 2

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 (last modified by James Howe)

I'm envisaging an api such that

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

would generate

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

Change History (2)

comment:1 by Tim Graham, 6 years ago

Summary: Support expression indexes for GinIndexAdd support for expression indexes for GinIndex
Triage Stage: UnreviewedAccepted

comment:2 by James Howe, 6 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top