Re: Is it possible to create an index without keeping the indexed data in a column? - Mailing list pgsql-general

From Michael Paquier
Subject Re: Is it possible to create an index without keeping the indexed data in a column?
Date
Msg-id CAB7nPqQfBr52j0Ozivpf4fQAYgXdf976i1CwaoeTgzPpVZMeMA@mail.gmail.com
Whole thread Raw
In response to Is it possible to create an index without keeping the indexed data in a column?  (Larry White <ljw1001@gmail.com>)
Responses Re: Is it possible to create an index without keeping the indexed data in a column?  (Amit Langote <amitlangote09@gmail.com>)
List pgsql-general
On Fri, Aug 1, 2014 at 4:47 AM, Larry White <ljw1001@gmail.com> wrote:
> Is there a way to get Postgres to index the table as if the JSON were there,
> but not actually put the data in the table?
> I could either store the docs
> elsewhere and keep a reference, or compress them and put them in the table
> in compressed form as a blob.
No. This is equivalent to the creation of an index on a foreign table.
Regards,
--
Michael


pgsql-general by date:

Previous
From: Larry White
Date:
Subject: Very Limited Toast Compression on JSONB (9.4 beta 2)
Next
From: Adrian Klaver
Date:
Subject: Re: Very Limited Toast Compression on JSONB (9.4 beta 2)