Skip to content

Commit d45e824

Browse files
committed
doc: Improve COPY synopsis
Upper-case MATCH so that it is clearer that it is a keyword in this context. Discussion: https://www.postgresql.org/message-id/flat/20220517.174342.1884842412165214815.horikyota.ntt%40gmail.com
1 parent da1c0ac commit d45e824

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/ref/copy.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ COPY { <replaceable class="parameter">table_name</replaceable> [ ( <replaceable
3636
FREEZE [ <replaceable class="parameter">boolean</replaceable> ]
3737
DELIMITER '<replaceable class="parameter">delimiter_character</replaceable>'
3838
NULL '<replaceable class="parameter">null_string</replaceable>'
39-
HEADER [ <replaceable class="parameter">boolean</replaceable> | match ]
39+
HEADER [ <replaceable class="parameter">boolean</replaceable> | MATCH ]
4040
QUOTE '<replaceable class="parameter">quote_character</replaceable>'
4141
ESCAPE '<replaceable class="parameter">escape_character</replaceable>'
4242
FORCE_QUOTE { ( <replaceable class="parameter">column_name</replaceable> [, ...] ) | * }
@@ -278,7 +278,7 @@ COPY { <replaceable class="parameter">table_name</replaceable> [ ( <replaceable
278278
column in the file. On output, the first line contains the column
279279
names from the table. On input, the first line is discarded when this
280280
option is set to <literal>true</literal> (or equivalent Boolean value).
281-
If this option is set to <literal>match</literal>, the number and names
281+
If this option is set to <literal>MATCH</literal>, the number and names
282282
of the columns in the header line must match the actual column names of
283283
the table, otherwise an error is raised.
284284
This option is not allowed when using <literal>binary</literal> format.

0 commit comments

Comments
 (0)