Re: proposal - support tsv output format for psql

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: proposal - support tsv output format for psql
Дата
Msg-id 20201223142136.GD9170@momjian.us
обсуждение исходный текст
Ответ на proposal - support tsv output format for psql  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: proposal - support tsv output format for psql  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: proposal - support tsv output format for psql  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Eric Hanson
Дата:
Сообщение: Re: Feature request: Connection string parsing for postgres_fdw
Следующее
От: Simon Riggs
Дата:
Сообщение: Discarding DISCARD ALL