aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEtsuro Fujita <efujita@postgresql.org>2022-02-16 15:15:00 +0900
committerEtsuro Fujita <efujita@postgresql.org>2022-02-16 15:15:00 +0900
commit27d195a57849fbcfb2ef455d40e1901b5002b505 (patch)
tree0f9e8d9f69b385ed1ae782b9ded950afc3930f14
parent7265dbffad7feac6ea9d373828583b5d3d152e07 (diff)
downloadpostgresql-27d195a57849fbcfb2ef455d40e1901b5002b505.tar.gz
postgresql-27d195a57849fbcfb2ef455d40e1901b5002b505.zip
Doc: Update documentation for modifying postgres_fdw foreign tables.
Document that they can be modified using COPY as well. Back-patch to v11 where commit 3d956d956 added support for COPY in postgres_fdw.
-rw-r--r--doc/src/sgml/postgres-fdw.sgml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/sgml/postgres-fdw.sgml b/doc/src/sgml/postgres-fdw.sgml
index 2bb31f11255..7bb6e525a46 100644
--- a/doc/src/sgml/postgres-fdw.sgml
+++ b/doc/src/sgml/postgres-fdw.sgml
@@ -64,7 +64,8 @@
Now you need only <command>SELECT</command> from a foreign table to access
the data stored in its underlying remote table. You can also modify
the remote table using <command>INSERT</command>, <command>UPDATE</command>,
- <command>DELETE</command>, or <command>TRUNCATE</command>.
+ <command>DELETE</command>, <command>COPY</command>, or
+ <command>TRUNCATE</command>.
(Of course, the remote user you have specified in your user mapping must
have privileges to do these things.)
</para>