aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-10-10 21:46:56 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-10-10 21:46:56 +0000
commit3b25d1650c5cf0337c012ebcebda071aa8b5846f (patch)
treea0e0f231118b75c4edb45f87ede7b0e35993d544
parent77aa91579722022339e725a04f868a69a034420b (diff)
downloadpostgresql-3b25d1650c5cf0337c012ebcebda071aa8b5846f.tar.gz
postgresql-3b25d1650c5cf0337c012ebcebda071aa8b5846f.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 9e25076000e..55da3003da0 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.70.2.3 2006/04/22 03:03:19 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/copy.sgml,v 1.70.2.4 2008/10/10 21:46:56 tgl Exp $
PostgreSQL documentation
-->
@@ -37,7 +37,6 @@ COPY <replaceable class="parameter">tablename</replaceable> [ ( <replaceable cla
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>' ]
@@ -199,7 +198,7 @@ COPY <replaceable class="parameter">tablename</replaceable> [ ( <replaceable cla
<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>