From 1da1cd2944701d5f6d8e4e9514a4a19b0fdf852a Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 9 Jul 2023 09:46:24 +0200 Subject: [PATCH] doc: Move DEFAULT parameter on COPY reference page The DEFAULT parameter seems most similar to the NULL parameter, so move it next to it, instead of having it at the end of the parameter list because it was the last one added. --- doc/src/sgml/ref/copy.sgml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/doc/src/sgml/ref/copy.sgml b/doc/src/sgml/ref/copy.sgml index 5e591ed2e6..4d614a0225 100644 --- a/doc/src/sgml/ref/copy.sgml +++ b/doc/src/sgml/ref/copy.sgml @@ -36,6 +36,7 @@ COPY { table_name [ ( boolean ] DELIMITER 'delimiter_character' NULL 'null_string' + DEFAULT 'default_string' HEADER [ boolean | MATCH ] QUOTE 'quote_character' ESCAPE 'escape_character' @@ -43,7 +44,6 @@ COPY { table_name [ ( column_name [, ...] ) FORCE_NULL ( column_name [, ...] ) ENCODING 'encoding_name' - DEFAULT 'default_string' @@ -271,6 +271,19 @@ COPY { table_name [ ( + + DEFAULT + + + Specifies the string that represents a default value. Each time the string + is found in the input file, the default value of the corresponding column + will be used. + This option is allowed only in COPY FROM, and only when + not using binary format. + + + + HEADER @@ -369,19 +382,6 @@ COPY { table_name [ ( - - DEFAULT - - - Specifies the string that represents a default value. Each time the string - is found in the input file, the default value of the corresponding column - will be used. - This option is allowed only in COPY FROM, and only when - not using binary format. - - - - WHERE