doc: Fix COPY ON_ERROR option syntax synopsis.
authorMasahiko Sawada
Wed, 17 Apr 2024 07:10:18 +0000 (16:10 +0900)
committerMasahiko Sawada
Wed, 17 Apr 2024 07:10:18 +0000 (16:10 +0900)
ON_ERROR option values don't require quotations, which was
inconsistent with the syntax synopsis in the documentation.

Oversight in b725b7eec43.

Author: Atsushi Torikoshi
Reviewed-by: Masahiko Sawada
Discussion: https://postgr.es/m/CAD21AoC%3Dn4xR3%2BKQiqodnfT9chSB62XwZqmMff39H%3Dx9DS4scQ%40mail.gmail.com

doc/src/sgml/ref/copy.sgml

index 33ce7c4ea6c08bb004c3bc1fe8afa66cd890d34b..1ce19668d80b982f66390e24aac0a8beafb2b919 100644 (file)
@@ -43,7 +43,7 @@ COPY { table_name [ ( 
     FORCE_QUOTE { ( column_name [, ...] ) | * }
     FORCE_NOT_NULL { ( column_name [, ...] ) | * }
     FORCE_NULL { ( column_name [, ...] ) | * }
-    ON_ERROR 'error_action'
+    ON_ERROR error_action
     ENCODING 'encoding_name'
     LOG_VERBOSITY mode