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-0001pR-UY@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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9d71323daca412e6e175595e1e42809fb5e1172d

Modified Files
--------------
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 +-
5 files changed, 120 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