Re: JSON output from psql

Поиск
Список
Период
Сортировка
От Gurjeet Singh
Тема Re: JSON output from psql
Дата
Msg-id CABwTF4XeAZxXFtLJ+gDg3UeAfH=anFGTVdm+4v2dCSZ-dRYn+g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: JSON output from psql  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: JSON output from psql  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers

On Fri, May 8, 2020 at 12:01 PM Pavel Stehule <pavel.stehule@gmail.com> wrote:
Hi

pá 8. 5. 2020 v 20:18 odesílatel Gurjeet Singh <gurjeet@singh.im> napsal:
    psql currently supports HTML, CSV, etc output formats. I was wondering if supporting JSON format was requested or discussed in past. If there's desire for this feature, perhaps we can add it to the TODO list on wiki so someone can pick it up and work on it in future.

is there some standardised format for output table?

I see "-T, --table-attr=TEXT" option in `psql --help` output, presumably that's to create HTML tables.

Best regards,
--
 

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: fill_extraUpdatedCols is done in completely the wrong place
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: JSON output from psql