Re: JSON output from psql

From: Gurjeet Singh <gurjeet(at)singh(dot)im>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Postgres Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: JSON output from psql
Date: 2020-05-08 19:07:56
Message-ID: CABwTF4XeAZxXFtLJ+gDg3UeAfH=anFGTVdm+4v2dCSZ-dRYn+g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, May 8, 2020 at 12:01 PM Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
wrote:

> Hi
>
> pá 8. 5. 2020 v 20:18 odesílatel Gurjeet Singh <gurjeet(at)singh(dot)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,
--
Gurjeet Singh http://gurjeet.singh.im/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2020-05-08 19:10:19 Re: JSON output from psql
Previous Message Tom Lane 2020-05-08 19:05:27 fill_extraUpdatedCols is done in completely the wrong place