Re: proposal - support tsv output format for psql - Mailing list pgsql-hackers

From Tom Lane
Subject Re: proposal - support tsv output format for psql
Date
Msg-id 709813.1608737095@sss.pgh.pa.us
Whole thread Raw
In response to Re: proposal - support tsv output format for psql  (Bruce Momjian <bruce@momjian.us>)
Responses Re: proposal - support tsv output format for psql
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> On Wed, Dec 23, 2020 at 07:18:24AM +0100, Pavel Stehule wrote:
>> Implementation of tsv format should not be hard.
>> What do you think about this?

> How would you handle tabs in the data?

The main problem with csv is the severe lack of standardization
around what to do with corner cases (delimiters in data, empty
fields, etc).  Seems like "tsv" would be even worse.  Is there
an actual standard anywhere?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andreas Karlsson
Date:
Subject: Re: Discarding DISCARD ALL
Next
From: Pavel Stehule
Date:
Subject: Re: proposal - support tsv output format for psql