Re: json accessors

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: json accessors
Дата
Msg-id 50BF827E.5060200@dunslane.net
обсуждение исходный текст
Ответ на Re: json accessors  ("David E. Wheeler" <david@justatheory.com>)
Ответы Re: json accessors
Список pgsql-hackers
On 12/05/2012 12:14 PM, David E. Wheeler wrote:
> On Nov 28, 2012, at 4:10 PM, Merlin Moncure <mmoncure@gmail.com> wrote:
>
>>> Yes, it's iterative. And for deeply nested json it might be somewhat
>>> inefficient, although the parser is pretty fast AFAICT. But it's a start.
>> not completely buying that: see comments below.  not supporting xpath
>> style decompositions seems wrong to me.  IOW, json_get should be set
>> returning (perhaps via wild cards in the keytext) or we need
>> json_each.
> The problem I see with the current proposal is that this limitation, it seems to me, would prevent the ability to
indexnested keys. If you're essentially composing and decomposing JSON values as you drill down, the intermediate JSON
valuesbetween the original one and the final return value can't be indexed, can they?
 
>
> For sufficiently large columns, I expect I would want a GIN index to speed JSON value extraction queries. Possible
withthis proposal?
 

Probably not.


cheers

andrew




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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: json accessors
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Dumping an Extension's Script