Re: JSON output from psql

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: JSON output from psql
Дата
Msg-id CAFj8pRArp7KYcaSq9syaim0donybi6u=nfDgGoQTzEJPhwpTkw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: JSON output from psql  (Gurjeet Singh <gurjeet@singh.im>)
Ответы Re: JSON output from psql  (Gurjeet Singh <gurjeet@singh.im>)
Список pgsql-hackers


pá 8. 5. 2020 v 21:08 odesílatel Gurjeet Singh <gurjeet@singh.im> napsal:

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.

I though for JSON format. This format is too generic.

Pavel

Best regards,
--
 

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

Предыдущее
От: Gurjeet Singh
Дата:
Сообщение: Re: JSON output from psql
Следующее
От: Christoph Berg
Дата:
Сообщение: src/test/perl/TestLib.pm: check_pg_config needs/usr/include/postgresql/pg_config.h