Re: psql JSON output format

From: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>
To: Christoph Berg <myon(at)debian(dot)org>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: psql JSON output format
Date: 2023-12-18 15:06:21
Message-ID: CAGECzQQBYnbMjy3f=+zpiW8xEBSLBJDmtPqSityMZw45mrHrDA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 18 Dec 2023 at 15:56, Christoph Berg <myon(at)debian(dot)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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Matt Skelley 2023-12-18 15:26:40 Re: A wrong comment about search_indexed_tlist_for_var
Previous Message Christoph Berg 2023-12-18 14:56:28 psql JSON output format