json rendering without pretty option (compact)

Поиск
Список
Период
Сортировка
От Nicolas Paris
Тема json rendering without pretty option (compact)
Дата
Msg-id CA+ssMOQVmonMMdjKcwrMALcLCYWPFEVvf37YL2bLQkTbBkHNyg@mail.gmail.com
обсуждение исходный текст
Ответы Re: json rendering without pretty option (compact)  (Michael Paquier <michael.paquier@gmail.com>)
Re: json rendering without pretty option (compact)  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-general
Hello,

I want to minimize postgresql json size when I fetch them.
I translate columnar table to json thought json_build_object/array or even row_to_jeon.

While row_to_json do have a "pretty_bool" option, the latter do not. Each json object/array I build contains spaces.

Is there a workaround ?
Is there a plan to add this feature on future version ?

(PG 9.6)

Thank you by advance,

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

Предыдущее
От: Edilmar LISTAS
Дата:
Сообщение: Re: Problem changing default data_directory in PG 9.6 + CentOS6
Следующее
От: Edilmar LISTAS
Дата:
Сообщение: Re: Problem changing default data_directory in PG 9.6 + CentOS6