Re: json generation enhancements

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: json generation enhancements
Дата
Msg-id 50F037EC.3000107@dunslane.net
обсуждение исходный текст
Ответ на json generation enhancements  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: json generation enhancements  (Steve Singer <steve@ssinger.info>)
Список pgsql-hackers
On 01/11/2013 11:00 AM, Andrew Dunstan wrote:
>
> I have not had anyone follow up on this, so I have added docs and will
> add this to the commitfest.
>
> Recap:
>
> This adds the following:
>
>     json_agg(anyrecord) -> json
>     to_json(any) -> json
>     hstore_to_json(hstore) -> json (also used as a cast)
>     hstore_to_json_loose(hstore) -> json
>
> Also, in json generation, if any non-builtin type has a cast to json,
> that function is used instead of the type's output function.
>
>

This time with a patch.

cheers

andrew



Вложения

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: json generation enhancements
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4)