Re: psql JSON output format - Mailing list pgsql-hackers

From Jelte Fennema-Nio
Subject Re: psql JSON output format
Date
Msg-id CAGECzQQBYnbMjy3f=+zpiW8xEBSLBJDmtPqSityMZw45mrHrDA@mail.gmail.com
Whole thread Raw
In response to psql JSON output format  (Christoph Berg <myon@debian.org>)
Responses Re: psql JSON output format
List pgsql-hackers
On Mon, 18 Dec 2023 at 15:56, Christoph Berg <myon@debian.org> wrote:
> I noticed psql was lacking JSON formatting of query results which I
> need for a follow-up patch.

This seems useful to me too, but my usecases would also be solved (and
possibly better solved) by adding JSON support to COPY as proposed
here:
https://www.postgresql.org/message-id/flat/CALvfUkBxTYy5uWPFVwpk_7ii2zgT07t3d-yR_cy4sfrrLU%3Dkcg%40mail.gmail.com

I'm wondering if your follow-up patch would be better served by that too or not.



pgsql-hackers by date:

Previous
From: Christoph Berg
Date:
Subject: psql JSON output format
Next
From: Matt Skelley
Date:
Subject: Re: A wrong comment about search_indexed_tlist_for_var