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

From Bruce Momjian
Subject Re: proposal - support tsv output format for psql
Date
Msg-id 20201223142136.GD9170@momjian.us
Whole thread Raw
In response to proposal - support tsv output format for psql  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: proposal - support tsv output format for psql
Re: proposal - support tsv output format for psql
List pgsql-hackers
On Wed, Dec 23, 2020 at 07:18:24AM +0100, Pavel Stehule wrote:
> Hi
> 
> I am playing with clipboard on Linux, and I found a way, how to redirect psql
> output to clipboard via wl-copy or xclip and then to Libre Office. Now it looks
> so best format is tsv
> 
> select * from pg_database \g (format=tsv) | wl-paste -t application/
> x-libreoffice-tsvc
> 
> Implementation of tsv format should not be hard.
> 
> What do you think about this?

How would you handle tabs in the data?

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

  The usefulness of a cup is in its emptiness, Bruce Lee




pgsql-hackers by date:

Previous
From: Eric Hanson
Date:
Subject: Re: Feature request: Connection string parsing for postgres_fdw
Next
From: Simon Riggs
Date:
Subject: Discarding DISCARD ALL