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

From: Richard Huxton <dev(at)archonet(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, 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-15 08:25:07
Message-ID: 520C9063.90409@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 12/08/13 23:18, Bruce Momjian wrote:
> On Mon, Aug 12, 2013 at 03:17:00PM -0700, Jeff Janes wrote:
>> On Mon, Aug 12, 2013 at 2: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.

Late to the discussion, but it does work to set format=csv and delimiter
= E'\t' to get tab-separated. Be nice not to have to though.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ivan Radovanovic 2013-08-15 09:33:42 Re: Getting list of supported types in Postgres
Previous Message Alexander Shutyaev 2013-08-15 05:40:54 vacuumdb uses a lot of disk