]> 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:59:28 +0000 (10:59 -0400)
commit08cb36417aa22436647a1831a7d1ff6b41232280
tree4e418b9bcae6ff672a0d5bd692fd6dea6bc0143b
parenta6c678f018d3a30a88440d3c20cf8e7cd6592a32
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/data/list1.csv [new file with mode: 0644]
contrib/file_fdw/data/list2.bad [new file with mode: 0644]
contrib/file_fdw/data/list2.csv [new file with mode: 0644]
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