Fix COPY documentation to not imply that HEADER can be used outside CSV mode.
authorTom Lane <[email protected]>
Fri, 10 Oct 2008 21:46:56 +0000 (21:46 +0000)
committerTom Lane <[email protected]>
Fri, 10 Oct 2008 21:46:56 +0000 (21:46 +0000)
Per gripe from Bill Thoen.

doc/src/sgml/ref/copy.sgml

index 6fb0ce8a9a9fc994baafb79804c2dd62fc904ff1..7640cf1bd4155b57bd628a48173746b4c7586e8d 100644 (file)
@@ -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>