0001-doc-Fix-COPY-ON_ERROR-option-syntax-synopsis.patch

application/octet-stream

Filename: 0001-doc-Fix-COPY-ON_ERROR-option-syntax-synopsis.patch
Type: application/octet-stream
Part: 0
Message: Re: POC PATCH: copy from ... exceptions to: (was Re: VLDB Features)

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: format-patch
Series: patch 0001
Subject: doc: Fix COPY ON_ERROR option syntax synopsis.
File+
doc/src/sgml/ref/copy.sgml 1 1
From 9a5acbff6cf1dbebc04ae221a292161d6b6cdeb0 Mon Sep 17 00:00:00 2001
From: Masahiko Sawada <sawada.mshk@gmail.com>
Date: Thu, 28 Mar 2024 10:11:48 +0900
Subject: [PATCH] doc: Fix COPY ON_ERROR option syntax synopsis.

Oversight in b725b7eec43.

Reviewed-by:
Discussion: https://postgr.es/m/
---
 doc/src/sgml/ref/copy.sgml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/src/sgml/ref/copy.sgml b/doc/src/sgml/ref/copy.sgml
index 6c83e30ed0..557e344004 100644
--- a/doc/src/sgml/ref/copy.sgml
+++ b/doc/src/sgml/ref/copy.sgml
@@ -43,7 +43,7 @@ COPY { <replaceable class="parameter">table_name</replaceable> [ ( <replaceable
     FORCE_QUOTE { ( <replaceable class="parameter">column_name</replaceable> [, ...] ) | * }
     FORCE_NOT_NULL { ( <replaceable class="parameter">column_name</replaceable> [, ...] ) | * }
     FORCE_NULL { ( <replaceable class="parameter">column_name</replaceable> [, ...] ) | * }
-    ON_ERROR '<replaceable class="parameter">error_action</replaceable>'
+    ON_ERROR [ <replaceable class="parameter">error_action</replaceable> ]
     ENCODING '<replaceable class="parameter">encoding_name</replaceable>'
 </synopsis>
  </refsynopsisdiv>
-- 
2.39.3