pgsql: Even if some partitions are foreign, allow tuple routing.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Even if some partitions are foreign, allow tuple routing.
Date: 2017-09-07 15:16:49
Message-ID: E1dpyXx-0001pS-Ue@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2017-09-07 17:59:05 pgsql: Reduce excessive dereferencing of function pointers
Previous Message Tom Lane 2017-09-07 13:50:04 pgsql: Fix handling of savepoint commands within multi-statement Query