Re: Why doesn't COPY support the HEADER options for tab-separated output?

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: Why doesn't COPY support the HEADER options for tab-separated output?
Дата
Msg-id CAMkU=1yZ2ARKT1aT3NF-SJXv6gKBrP7bBprLAyZrLUFyv1JhGQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Why doesn't COPY support the HEADER options for tab-separated output?  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Why doesn't COPY support the HEADER options for tab-separated output?  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-general
On Mon, Aug 12, 2013 at 2:21 PM, Bruce Momjian <bruce@momjian.us> wrote:
> On Mon, Aug 12, 2013 at 02:15:25PM -0700, Joe Van Dyk wrote:
>> Mostly just curious, as this is preventing me from using tab-separated output.
>> I'd like there to be a header in my files. I have to use CSVs instead.
>
> [ "this" means the fact that COPY doesn't support the HEADER option. ]
>
> We assume CSV is going to be read into a tool that can use the header
> names;  delimited files don't usually have a use for those headers.

There have been a few cases where I wanted this, too.  I can see why
implementing it is less important than having it for CSV, but is there
a reason to consider this harmful for TEXT format?  I.e. if someone
submitted a patch, would it be rejected?

Cheers,

Jeff


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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: Why doesn't COPY support the HEADER options for tab-separated output?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Why doesn't COPY support the HEADER options for tab-separated output?