Re: jsonb and nested hstore

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: jsonb and nested hstore
Дата
Msg-id CA+TgmoZXt8f5d21joe7wzNViGbmo5vvnOGD0GWc5XzdLYNjxPw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: jsonb and nested hstore  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
On Fri, Mar 14, 2014 at 9:17 PM, Josh Berkus <josh@agliodbs.com> wrote:
> On 03/14/2014 06:44 PM, Tomas Vondra wrote:
>> Stupid question - so if I have a json like this:
>
> Not a stupid question, actually.   In fact, I expect to answer it 400 or
> 500 times over the lifespan of 9.4.
>
>>   { "a" : { "b" : "c"}}
>>
>> the GIN code indexes {"b" : "c"} as a single value? And then takes "c"
>> and indexes it as a single value too?
>
> I don't know that "c" is indexed separately.
>
>> Because otherwise I don't understand how the index could be used for
>> queries with @> '{"a" : {"b" : "c"}}' conditions (i.e. path "[a,b]" with
>> value "c").
>>
>> Hmmmm, if that's how it works, removing the size limit would be
>> certainly more difficult than I thought.
>
> Precisely.  Hence, the Russian plans for VODKA.

Have these plans been shared publicly somewhere?  Got a link?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: PQputCopyData dont signal error
Следующее
От: Robert Haas
Дата:
Сообщение: Re: HEAD seems to generate larger WAL regarding GIN index