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

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Joe Van Dyk <joe(at)tanga(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Why doesn't COPY support the HEADER options for tab-separated output?
Date: 2013-08-12 22:05:42
Message-ID: CAHyXU0zTJXavvcf4bm5yd3P-LsMFgt8x7n0oCeyiM1C8xtgWiw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Aug 12, 2013 at 4:21 PM, Bruce Momjian <bruce(at)momjian(dot)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.

that's a terrible assumption.

merlin

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Janes 2013-08-12 22:17:00 Re: Why doesn't COPY support the HEADER options for tab-separated output?
Previous Message Bruce Momjian 2013-08-12 21:21:32 Re: Why doesn't COPY support the HEADER options for tab-separated output?