]> granicus.if.org Git - postgresql/commit
Even if some partitions are foreign, allow tuple routing.
authorRobert Haas <rhaas@postgresql.org>
Thu, 7 Sep 2017 14:55:45 +0000 (10:55 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 7 Sep 2017 14:58:21 +0000 (10:58 -0400)
commit9d71323daca412e6e175595e1e42809fb5e1172d
tree6cb7831b90a3defb1072a4e88058212f6287bab3
parent6eb52da3948dc8bc7c8a61cbacac14823b670c58
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
contrib/file_fdw/input/file_fdw.source
contrib/file_fdw/output/file_fdw.source
src/backend/executor/execMain.c
src/backend/executor/nodeModifyTable.c
src/include/executor/executor.h