JSON doc problem

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
JSON doc problem
Дата
Msg-id
20140621041844.GA19251@momjian.us
Список
Дерево обсуждения
JSON doc problem Bruce Momjian <bruce@momjian.us>
Re: JSON doc problem Tom Lane <tgl@sss.pgh.pa.us>
Re: JSON doc problem Bruce Momjian <bruce@momjian.us>
There seems to be a problem in this 9.4 JSON doc paragraph in json.sgml:

    The technical difference between a jsonb_ops
    and a jsonb_path_ops GIN index is that the former
    creates independent index items for each key and value in the data,
    while the latter creates index items only for each value in the
    data.For this purpose, the term value</>
    includes array elements, though JSON terminology sometimes considers
    array elements distinct from values within objects.
--> But in jsonb_path_ops, each index item is a hash
    of both the value and the key(s) leading to it; for example to index
    {"foo": {"bar": "baz"}}, a single index item would
    be created incorporating all three of foo</>, bar</>,

What does this "But" refer to, and it is consistent with the sentences above?

-- 
  Bruce Momjian          http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +

В списке pgsql-docs по дате отправления
От: Sérgio Saquetim
Дата:
От: Tom Lane
Дата:
Сообщение: Re: JSON doc problem
FAQ