From a9e186da81d9965789b1a7ab869329eabe3595c3 Mon Sep 17 00:00:00 2001 From: Etsuro Fujita Date: Wed, 16 Feb 2022 15:15:02 +0900 Subject: [PATCH] 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. --- doc/src/sgml/postgres-fdw.sgml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/postgres-fdw.sgml b/doc/src/sgml/postgres-fdw.sgml index c1daf12770..9d4d7ccba1 100644 --- a/doc/src/sgml/postgres-fdw.sgml +++ b/doc/src/sgml/postgres-fdw.sgml @@ -64,7 +64,8 @@ Now you need only SELECT from a foreign table to access the data stored in its underlying remote table. You can also modify the remote table using INSERT, UPDATE, - DELETE, or TRUNCATE. + DELETE, COPY, or + TRUNCATE. (Of course, the remote user you have specified in your user mapping must have privileges to do these things.)