diff options
author | Fujii Masao | 2021-04-27 09:39:30 +0000 |
---|---|---|
committer | Fujii Masao | 2021-04-27 09:39:30 +0000 |
commit | 0c8f40863acb94963df9fd6a4369eb71efe9a93b (patch) | |
tree | 9056ccb782efd2fffdc9dd73e4538680b45cc3c9 /doc/src/sgml/postgres-fdw.sgml | |
parent | 8e9ea08bae93a754d5075b7bc9c0b2bc71958bfd (diff) |
doc: Review for "Allow TRUNCATE command to truncate foreign tables".
Typos, corrections and language improvements in the docs.
Author: Justin Pryzby, Fujii Masao
Reviewed-by: Bharath Rupireddy, Justin Pryzby, Fujii Masao
Discussion: https://postgr.es/m/20210411041658.GB14564@telsasoft.com
Diffstat (limited to 'doc/src/sgml/postgres-fdw.sgml')
-rw-r--r-- | doc/src/sgml/postgres-fdw.sgml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/src/sgml/postgres-fdw.sgml b/doc/src/sgml/postgres-fdw.sgml index b0806c1274e..839126c4efe 100644 --- a/doc/src/sgml/postgres-fdw.sgml +++ b/doc/src/sgml/postgres-fdw.sgml @@ -459,11 +459,17 @@ OPTIONS (ADD password_required 'false'); <listitem> <para> This option controls whether <filename>postgres_fdw</filename> allows - foreign tables to be truncated using <command>TRUNCATE</command> + foreign tables to be truncated using the <command>TRUNCATE</command> command. It can be specified for a foreign table or a foreign server. A table-level option overrides a server-level option. The default is <literal>true</literal>. </para> + + <para> + Of course, if the remote table is not in fact truncatable, an error + would occur anyway. Use of this option primarily allows the error to + be thrown locally without querying the remote server. + </para> </listitem> </varlistentry> </variablelist> |