Even if some partitions are foreign, allow tuple routing.

Robert Haas <rhaas@postgresql.org>

Commit: 08cb36417aa22436647a1831a7d1ff6b41232280
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-09-07T14:59:28Z
Releases: 10.0
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

Discussion