From d45e824b6719147ef5d225c1949c2e65548e00ff Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 23 May 2022 13:09:18 +0200 Subject: [PATCH] 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 --- doc/src/sgml/ref/copy.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/ref/copy.sgml b/doc/src/sgml/ref/copy.sgml index 546cef04b98..40af423ccf1 100644 --- a/doc/src/sgml/ref/copy.sgml +++ b/doc/src/sgml/ref/copy.sgml @@ -36,7 +36,7 @@ COPY { table_name [ ( boolean ] DELIMITER 'delimiter_character' NULL 'null_string' - HEADER [ boolean | match ] + HEADER [ boolean | MATCH ] QUOTE 'quote_character' ESCAPE 'escape_character' FORCE_QUOTE { ( column_name [, ...] ) | * } @@ -278,7 +278,7 @@ COPY { table_name [ ( true (or equivalent Boolean value). - If this option is set to match, the number and names + If this option is set to MATCH, the number and names of the columns in the header line must match the actual column names of the table, otherwise an error is raised. This option is not allowed when using binary format.