aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-10-10 21:46:34 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-10-10 21:46:34 +0000
commit74fd3d1b23734c2936ad0c8aef220aa35235ef0b (patch)
treec1dc7de39fe157a9964a0076803eee192c279bbd
parent30584cda35543f58b9fd9911272d5c9583840a6f (diff)
downloadpostgresql-74fd3d1b23734c2936ad0c8aef220aa35235ef0b.tar.gz
postgresql-74fd3d1b23734c2936ad0c8aef220aa35235ef0b.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 bd1b94ae395..762446778ec 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.81 2008/01/16 22:07:04 adunstan Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/copy.sgml,v 1.82 2008/10/10 21:46:34 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>