Re: proposal \gcsv

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: proposal \gcsv
Дата
Msg-id CAFj8pRBd+7Bq_5cEGR3vxqVj+Z4O3aLekq2X1ybTZGinf+riMQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: proposal \gcsv  ("Daniel Verite" <daniel@manitou-mail.org>)
Список pgsql-hackers


so 28. 3. 2020 v 15:06 odesílatel Daniel Verite <daniel@manitou-mail.org> napsal:
        Erik Rijkers wrote:

> 2. let the psql command-line option '--csv' honour the value given by 
> psql -F/--field-separator (it does not do so now)
>
> or
>
> 3. add an psql -commandline option:
>     --csv-field-separator

Setting the field separator on the command line is already supported
through this kind of invocation:

psql --csv -P csv_fieldsep=$'\t'

bash expands $'\t' to a tab character. Other shells might need
different tricks.

We have named parameters in shell, but not in psql




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

В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Daniel Verite"
Дата:
Сообщение: Re: proposal \gcsv
Следующее
От: James Coleman
Дата:
Сообщение: Re: [PATCH] Incremental sort (was: PoC: Partial sort)