Even if some partitions are foreign, allow tuple routing.
Robert Haas <rhaas@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| contrib/file_fdw/data/list1.csv | added | +2 −0 |
| contrib/file_fdw/data/list2.bad | added | +2 −0 |
| contrib/file_fdw/data/list2.csv | added | +2 −0 |
| contrib/file_fdw/input/file_fdw.source | modified | +21 −0 |
| contrib/file_fdw/output/file_fdw.source | modified | +81 −0 |
| src/backend/executor/execMain.c | modified | +16 −9 |
| src/backend/executor/nodeModifyTable.c | modified | +1 −1 |
| src/include/executor/executor.h | modified | +1 −1 |
Discussion
- Tuple-routing for certain partitioned tables not working as expected 18 messages · 2017-08-07 → 2017-09-08