pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Allow insert and update tuple routing and COPY for foreign table
Date: Fri, 06 Apr 2018 23:24:33 +0000
Message-ID: <E1f4aif-0004qo-A6@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3d956d9562aa4811b5eaaaf5314d361c61be2ae0

Modified Files
--------------
contrib/file_fdw/input/file_fdw.source         |   5 +
contrib/file_fdw/output/file_fdw.source        |   9 +-
contrib/postgres_fdw/expected/postgres_fdw.out | 334 +++++++++++++++++++++++++
contrib/postgres_fdw/postgres_fdw.c            |  96 +++++++
contrib/postgres_fdw/sql/postgres_fdw.sql      | 237 ++++++++++++++++++
doc/src/sgml/ddl.sgml                          |   8 +-
doc/src/sgml/fdwhandler.sgml                   |  66 +++++
doc/src/sgml/ref/copy.sgml                     |   5 +-
doc/src/sgml/ref/update.sgml                   |   3 +
src/backend/commands/copy.c                    |  96 +++++--
src/backend/executor/execMain.c                |   8 +-
src/backend/executor/execPartition.c           | 103 +++++---
src/backend/executor/nodeModifyTable.c         |  23 +-
src/include/executor/execPartition.h           |   8 +-
src/include/foreign/fdwapi.h                   |   8 +
src/include/nodes/execnodes.h                  |   6 +
16 files changed, 924 insertions(+), 91 deletions(-)



view thread (22+ messages)  latest in thread

Message-ID: <E1f4aif-0004qo-A6@gemulon.postgresql.org>
Permalink:  ../E1f4aif-0004qo-A6@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1f4aif-0004qo-A6@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Allow insert and update tuple routing and COPY for foreign table
  In-Reply-To: <E1f4aif-0004qo-A6@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox