Re: csv format for psql

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Daniel Verite <daniel(at)manitou-mail(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: csv format for psql
Date: 2018-03-07 09:45:03
Message-ID: alpine.DEB.2.20.1803071041120.445@lancre
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hello Daniel,

> Attached is a v2 fixing the bugs you mentioned, and adding ---csv/-C
> as discussed upthread. I'll add some regression tests shortly.

Basically I'm waiting for the version with regression tests before
reviewing.

It is unclear whether committer will like it.

From my point of view being able to simply set postgres to generate csv is
fine with me, with example uses such as:

psql --csv 'TABLE Stuff;' > stuff.csv

So that having the --csv option to turn to "full csv", i.e. set the format
and various seperators as expected, would be a nice have.

--
Fabien.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2018-03-07 09:55:29 Re: [PROPOSAL] Shared Ispell dictionaries
Previous Message Marina Polyakova 2018-03-07 09:18:30 Re: WIP Patch: Pgbench Serialization and deadlock errors