diff options
Diffstat (limited to 'doc/src/sgml/postgres-fdw.sgml')
-rw-r--r-- | doc/src/sgml/postgres-fdw.sgml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/src/sgml/postgres-fdw.sgml b/doc/src/sgml/postgres-fdw.sgml index 5aced083e9e..d96c3d0f0cd 100644 --- a/doc/src/sgml/postgres-fdw.sgml +++ b/doc/src/sgml/postgres-fdw.sgml @@ -372,6 +372,17 @@ OPTIONS (ADD password_required 'false'); overrides an option specified for the server. The default is <literal>1</literal>. </para> + + <para> + Note the actual number of rows <filename>postgres_fdw</filename> inserts at + once depends on the number of columns and the provided + <literal>batch_size</literal> value. The batch is executed as a single + query, and the libpq protocol (which <filename>postgres_fdw</filename> + uses to connect to a remote server) limits the number of parameters in a + single query to 65535. When the number of columns * <literal>batch_size</literal> + exceeds the limit, the <literal>batch_size</literal> will be adjusted to + avoid an error. + </para> </listitem> </varlistentry> |