]> granicus.if.org Git - postgresql/commit
Allow insert and update tuple routing and COPY for foreign tables.
authorRobert Haas <rhaas@postgresql.org>
Fri, 6 Apr 2018 23:16:11 +0000 (19:16 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 6 Apr 2018 23:22:03 +0000 (19:22 -0400)
commit3d956d9562aa4811b5eaaaf5314d361c61be2ae0
treebcc272ff028283ce7799b2900b0f6ca084b55feb
parentcb1ff1e5af83f2c548fcb15596d474c198a021c5
Allow insert and update tuple routing and COPY for foreign tables.

Also enable this for postgres_fdw.

Etsuro Fujita, based on an earlier patch by Amit Langote. The larger
patch series of which this is a part has been reviewed by Amit
Langote, David Fetter, Maksim Milyutin, Álvaro Herrera, Stephen Frost,
and me.  Minor documentation changes to the final version by me.

Discussion: http://postgr.es/m/29906a26-da12-8c86-4fb9-d8f88442f2b9@lab.ntt.co.jp
16 files changed:
contrib/file_fdw/input/file_fdw.source
contrib/file_fdw/output/file_fdw.source
contrib/postgres_fdw/expected/postgres_fdw.out
contrib/postgres_fdw/postgres_fdw.c
contrib/postgres_fdw/sql/postgres_fdw.sql
doc/src/sgml/ddl.sgml
doc/src/sgml/fdwhandler.sgml
doc/src/sgml/ref/copy.sgml
doc/src/sgml/ref/update.sgml
src/backend/commands/copy.c
src/backend/executor/execMain.c
src/backend/executor/execPartition.c
src/backend/executor/nodeModifyTable.c
src/include/executor/execPartition.h
src/include/foreign/fdwapi.h
src/include/nodes/execnodes.h