aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-10-10 21:46:49 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-10-10 21:46:49 +0000
commitc564931da0701d67f143b66a81f7d5fb1a906a6c (patch)
treeed96e863d0c3399127e229a83811dae2d8ed129b
parentcd8584611a0c48a3c336309cef12006038e1e20d (diff)
downloadpostgresql-c564931da0701d67f143b66a81f7d5fb1a906a6c.tar.gz
postgresql-c564931da0701d67f143b66a81f7d5fb1a906a6c.zip
Fix COPY documentation to not imply that HEADER can be used outside CSV mode.
Per gripe from Bill Thoen.
-rw-r--r--doc/src/sgml/ref/copy.sgml5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/src/sgml/ref/copy.sgml b/doc/src/sgml/ref/copy.sgml
index 101c1c29b49..4d5a54c125e 100644
--- a/doc/src/sgml/ref/copy.sgml
+++ b/doc/src/sgml/ref/copy.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/copy.sgml,v 1.77.2.2 2007/04/18 02:29:39 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/copy.sgml,v 1.77.2.3 2008/10/10 21:46:49 tgl Exp $
PostgreSQL documentation
-->
@@ -37,7 +37,6 @@ COPY { <replaceable class="parameter">tablename</replaceable> [ ( <replaceable c
TO { '<replaceable class="parameter">filename</replaceable>' | STDOUT }
[ [ WITH ]
[ BINARY ]
- [ HEADER ]
[ OIDS ]
[ DELIMITER [ AS ] '<replaceable class="parameter">delimiter</replaceable>' ]
[ NULL [ AS ] '<replaceable class="parameter">null string</replaceable>' ]
@@ -214,7 +213,7 @@ COPY { <replaceable class="parameter">tablename</replaceable> [ ( <replaceable c
<term><literal>HEADER</literal></term>
<listitem>
<para>
- Specifies the file contains a header line with the names of each
+ Specifies that the file contains a header line with the names of each
column in the file. On output, the first line contains the column
names from the table, and on input, the first line is ignored.
</para>