Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0f0a718

Browse files
author
Etsuro Fujita
committed
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 97da482. Reviewed-by: Daniel Gustafsson and Tatsuo Ishii Discussion: https://postgr.es/m/CAPmGK14NMXDMW4qK9kHUzudN9t71uvrMKPna02X6zwgQJ6E1_g%40mail.gmail.com
1 parent bcaa1fa commit 0f0a718

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/src/sgml/postgres-fdw.sgml

+5-1
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,11 @@ OPTIONS (ADD password_required 'false');
437437
</para>
438438

439439
<para>
440-
This option also applies when copying into foreign tables.
440+
This option also applies when copying into foreign tables. In that case
441+
the actual number of rows <filename>postgres_fdw</filename> copies at
442+
once is determined in a similar way to the insert case, but it is
443+
limited to at most 1000 due to implementation restrictions of the
444+
<command>COPY</command> command.
441445
</para>
442446
</listitem>
443447
</varlistentry>

0 commit comments

Comments
 (0)