Re: proposal \gcsv

Поиск
Список
Период
Сортировка
От Erik Rijkers
Тема Re: proposal \gcsv
Дата
Msg-id 5005f4fc4034d68c7772bda610459236@xs4all.nl
обсуждение исходный текст
Ответ на Re: proposal \gcsv  ("Daniel Verite" <daniel@manitou-mail.org>)
Ответы Re: proposal \gcsv  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2020-03-28 15:06, Daniel Verite wrote:
> 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.

Ah yes, that works.  I had not seen that psql -P option.  Thanks!

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



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

Предыдущее
От: David Steele
Дата:
Сообщение: Re: pgbench - refactor init functions with buffers
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: [PATCH] Opclass parameters