Re: new json funcs

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: new json funcs
Дата
Msg-id 52E004A1.1070505@dunslane.net
обсуждение исходный текст
Ответ на Re: new json funcs  (Marko Tiikkaja <marko@joh.to>)
Ответы Re: new json funcs  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On 01/21/2014 06:21 PM, Marko Tiikkaja wrote:
> Hi Andrew,
>
> On 1/18/14, 10:05 PM, I wrote:
>> But I'll continue with my review now that this has been sorted out.
>
> Sorry about the delay.
>
> I think the API for the new functions looks good.  They are all
> welcome additions to the JSON family.
>
> The implementation side looks reasonable to me.  I'm not sure there's
> need to duplicate so much code, though.  E.g. json_to_recordset is
> almost identical to json_populate_recordset, and json_to_record has a
> bit of the same disease.
>
> Finally, (as I'm sure you know already), docs are still missing.
> Marking the patch Waiting on Author for the time being.
>
>
>


New patch attached. Main change is I changed
json_populate_record/json_to_record to call a common worker function,
and likewise with json_populate_recordset/json_to_recordset.

We're still finalizing the docs - should be ready in the next day or so.

cheers

andrew


Вложения

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: proposal: hide application_name from other users
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: WAL replay should fdatasync() segments?