Bug In COPY TO?

From: Bill Thoen <bthoen(at)gisnet(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Bug In COPY TO?
Date: 2008-10-10 15:26:04
Message-ID: 48EF740C.50300@gisnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I noticed that in PG 8.1 the docs for COPY TO say that you can use WITH
HEADER, but when I do that it throws an error saying that this works
only in CSV mode. Is this a bug or do I have something wrong with my syntax?

COPY mytable TO '/data/out.txt'
WITH HEADER DELIMITER '|' NULL '' ;

Responses

Browse pgsql-general by date

  From Date Subject
Next Message blackwater dev 2008-10-10 15:29:53 grabbing date of last Sunday?
Previous Message Pascal Cohen 2008-10-10 15:17:09 Improve dump and restore time