From 0f0a7183d7d8632a2bbcdad796580b4cc541c639 Mon Sep 17 00:00:00 2001 From: Etsuro Fujita Date: Fri, 24 Mar 2023 12:55:00 +0900 Subject: [PATCH] Doc: Improve description of the "batch_size" option for postgres_fdw. Document that the actual number of rows postgres_fdw inserts at once in the COPY case is determined in a similar way to the INSERT case, but it has a restriction that does not apply to the INSERT case. Follow-up for commit 97da48246. Reviewed-by: Daniel Gustafsson and Tatsuo Ishii Discussion: https://postgr.es/m/CAPmGK14NMXDMW4qK9kHUzudN9t71uvrMKPna02X6zwgQJ6E1_g%40mail.gmail.com --- doc/src/sgml/postgres-fdw.sgml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/postgres-fdw.sgml b/doc/src/sgml/postgres-fdw.sgml index 372236ec13..d43ea71407 100644 --- a/doc/src/sgml/postgres-fdw.sgml +++ b/doc/src/sgml/postgres-fdw.sgml @@ -437,7 +437,11 @@ OPTIONS (ADD password_required 'false'); - This option also applies when copying into foreign tables. + This option also applies when copying into foreign tables. In that case + the actual number of rows postgres_fdw copies at + once is determined in a similar way to the insert case, but it is + limited to at most 1000 due to implementation restrictions of the + COPY command. -- 2.30.2