From: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com> |
---|---|
To: | Richard Huxton <dev(at)archonet(dot)com> |
Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, 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 15:59:23 |
Message-ID: | CAMkU=1x7EnxjddVwZrSupbwWa6BQOJZF0ZvT3kXDB6+geqL5Nw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Aug 15, 2013 at 1:25 AM, Richard Huxton <dev(at)archonet(dot)com> wrote:
> 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.
Also, the escaping/quoting mechanisms are different. I often find the
escapes of the TEXT format more convenient than the CSV with E'\t'.
Cheers,
Jeff
From | Date | Subject | |
---|---|---|---|
Next Message | Guy Helmer | 2013-08-15 15:59:47 | Re: SSL connection has been closed unexpectedly |
Previous Message | Michael Cronenworth | 2013-08-15 15:59:14 | Re: MinGW compiled client library |