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?
Дата
Msg-id 20130812212132.GC12496@momjian.us
обсуждение исходный текст
Ответ на Why doesn't COPY support the HEADER options for tab-separated output?  (Joe Van Dyk <joe@tanga.com>)
Ответы Re: Why doesn't COPY support the HEADER options for tab-separated output?  (Merlin Moncure <mmoncure@gmail.com>)
Re: Why doesn't COPY support the HEADER options for tab-separated output?  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-general
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.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +


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

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