Re: Multi-level hierarchy with parallel append can lead to an extra subplan.

2018-01-10 Thread Robert Haas
On Tue, Jan 9, 2018 at 5:41 AM, Amit Khandekar wrote: > This subplan should not be there. It looks like that's because when > we add up subpaths while preparing Parallel Append path containing mix of > partial and non-partial child paths, in accumulate_append_subpath(), > the subpath being added i

Re: Multi-level hierarchy with parallel append can lead to an extra subplan.

2018-01-09 Thread Amit Khandekar
Thanks Rajkumar for catching this. There is indeed is an extra child subplan showing up in the Parallel Append : -> Parallel Append -> Seq Scan on rm38941_inherit_t1 -> Parallel Seq Scan on rm38941_inherit