Re: Allow COPY's 'text' format to output a header

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Allow COPY's 'text' format to output a header
Дата
Msg-id a56539af-9eb3-2dad-91de-1c3be93efaa5@2ndQuadrant.com
обсуждение исходный текст
Ответ на Re: Allow COPY's 'text' format to output a header  (Simon Muller <samullers@gmail.com>)
Ответы Re: Allow COPY's 'text' format to output a header
Список pgsql-hackers

On 05/14/2018 02:35 AM, Simon Muller wrote:
> Okay, I've added this to the next commitfest at
> https://commitfest.postgresql.org/18/1629/.
>
> Thanks both Michael and David for the feedback so far.
>
>


(Please don't top-post on PostgreSQL lists.)

I'm not necessarily opposed to this, but I'm not certain about the use
case either. The original request seemed to stem from a false impression
that CSV mode can't produce or consume tab-delimited files. But it can,
and in fact it's saner for almost all uses than text format. Postgres'
text format is really intended for Postgres' use. CSV format is more
appropriate for dealing with external programs, whether the delimiter be
a tab or a comma.

cheers

andrew

-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Incorrect comment in get_partition_dispatch_recurse
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Postgres 11 release notes