pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Even if some partitions are foreign, allow tuple routing.
Date: Thu, 07 Sep 2017 15:16:49 +0000
Message-ID: <E1dpyXx-0001pS-Ue@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Even if some partitions are foreign, allow tuple routing.

This doesn't allow routing tuple to the foreign partitions themselves,
but it permits tuples to be routed to regular partitions despite the
presence of foreign partitions in the same inheritance hierarchy.

Etsuro Fujita, reviewed by Amit Langote and by me.

Discussion: http://postgr.es/m/bc3db4c1-1693-3b8a-559f-33ad2b50b7ad@lab.ntt.co.jp

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/08cb36417aa22436647a1831a7d1ff6b41232280

Modified Files
--------------
contrib/file_fdw/data/list1.csv         |  2 +
contrib/file_fdw/data/list2.bad         |  2 +
contrib/file_fdw/data/list2.csv         |  2 +
contrib/file_fdw/input/file_fdw.source  | 21 +++++++++
contrib/file_fdw/output/file_fdw.source | 81 +++++++++++++++++++++++++++++++++
src/backend/executor/execMain.c         | 25 ++++++----
src/backend/executor/nodeModifyTable.c  |  2 +-
src/include/executor/executor.h         |  2 +-
8 files changed, 126 insertions(+), 11 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (2+ messages)  latest in thread

Message-ID: <E1dpyXx-0001pS-Ue@gemulon.postgresql.org>
Permalink:  ../E1dpyXx-0001pS-Ue@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1dpyXx-0001pS-Ue@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: Even if some partitions are foreign, allow tuple routing.
  In-Reply-To: <E1dpyXx-0001pS-Ue@gemulon.postgresql.org>
  References: <E1dpyXx-0001pS-Ue@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