Re: Bug In COPY TO?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bill Thoen <bthoen(at)gisnet(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Bug In COPY TO?
Date: 2008-10-10 20:43:33
Message-ID: 2468.1223671413@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bill Thoen <bthoen(at)gisnet(dot)com> writes:
> 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?

I'd say it's a bug in the documentation :-(. It looks like someone
carelessly added HEADER in the wrong place in the syntax summary.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Robert Haas 2008-10-10 20:43:54 Re: calling a function that takes a row type and returns a set of rows
Previous Message Dimitri Fontaine 2008-10-10 20:39:31 Re: calling a function that takes a row type and returns a set of rows