Re: Computed index on transformation of jsonb key set - Mailing list pgsql-general

From David G. Johnston
Subject Re: Computed index on transformation of jsonb key set
Date
Msg-id CAKFQuwZ-WKzzCs_+3j7apv4agi8hsYjocTukQohb+aBFmqjieA@mail.gmail.com
Whole thread Raw
In response to Computed index on transformation of jsonb key set  (Steven Schlansker <stevenschlansker@gmail.com>)
List pgsql-general
On Fri, Apr 26, 2019 at 2:25 PM Steven Schlansker <stevenschlansker@gmail.com> wrote:
How can I efficiently implement the feature I've described?  It seems difficult to use computed indexing with GIN.

Don't use a computed index?  Add a trigger to populate a physical column and index that.  Modify queries to make simple tests against the stored array.

David J.

pgsql-general by date:

Previous
From: Steven Schlansker
Date:
Subject: Computed index on transformation of jsonb key set
Next
From: Rob Sargent
Date:
Subject: Re: Computed index on transformation of jsonb key set