Re: csv format for psql

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Daniel Verite <daniel(at)manitou-mail(dot)org>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: csv format for psql
Date: 2018-02-12 14:39:31
Message-ID: CAFj8pRChJN9QFr4xPR04+Y-3Rz42KEUOyD_c+WxPxyzDydE2oQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2018-02-12 15:33 GMT+01:00 Daniel Verite <daniel(at)manitou-mail(dot)org>:

> Pavel Stehule wrote:
>
> > some like "\pset format csv , header_off
>
> If we did that, we'd need to reconsider the interactions
> of this with \t on|off and \pset footer on|off
> and how to keep things consistent with the unaligned
> format.
>

ok

> I feel like it's not worth the trouble.
> We can still add this later if users are confused with
> the interface, but that interface is already well
> established with the unaligned format.
>
> > 2. if we support csv format, then we can introduce \gcsv xxx | gnuplot
> ....
>
> I thought committers rejected this because they didn't want a
> new variant of \g
> The csv format makes it possible to not add any new \g-style
> metacommand and inject csv into the existing ones.
>
>
ok

>
> Best regards,
> --
> Daniel Vérité
> PostgreSQL-powered mailer: http://www.manitou-mail.org
> Twitter: @DanielVerite
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2018-02-12 15:07:08 Re: Bogosities in pg_dump's extended statistics support
Previous Message Daniel Verite 2018-02-12 14:33:41 Re: csv format for psql