Re: jsonb and nested hstore

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: jsonb and nested hstore
Дата
Msg-id 52F266F8.8060908@dunslane.net
обсуждение исходный текст
Ответ на Re: jsonb and nested hstore  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-hackers
On 02/05/2014 10:36 AM, Teodor Sigaev wrote:
>
>>
>>> +Datum
>>> +jsonb_typeof(PG_FUNCTION_ARGS)
>>> +{
>> ...
>>> +}
>>
>> Hm, shouldn't that be in jsonfuncs.c?
> No idea, i don't have an objection

No it shouldn't. The json equivalent function is in json.c, and needs to 
be because it uses the parser internals that aren't exposed outside that 
code.

>
> send/recv for hstore is fixed too. Should I make new version of patch? 
> Right now it's placed on github. May be Andrew wants to change something?
>
>

I'll take a look, but I think we need to unify this so we use one set of 
send/recv code for the two types if possible, as I just said to Merlin.

cheers

andrew




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Misaligned BufferDescriptors causing major performance problems on AMD
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: jsonb and nested hstore