Re: Is it possible to create an index without keeping the indexed data in a column?

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Larry White <ljw1001(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org>
Subject: Re: Is it possible to create an index without keeping the indexed data in a column?
Date: 2014-08-01 01:48:34
Message-ID: CAB7nPqQfBr52j0Ozivpf4fQAYgXdf976i1CwaoeTgzPpVZMeMA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Aug 1, 2014 at 4:47 AM, Larry White <ljw1001(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2014-08-01 03:51:47 Re: Very Limited Toast Compression on JSONB (9.4 beta 2)
Previous Message Larry White 2014-07-31 20:44:58 Very Limited Toast Compression on JSONB (9.4 beta 2)