[HACKERS] Questions about MergeAppend

2017-03-02 Thread Ronan Dunklau
Hello, Looking into the MergeAppendPath generation, I'm a bit surprised by several things: - When generating the mergeappendpath, we use a dummy path to take the sort cost into account for non-sorted subpaths. This is called with the base relation tuples instead of the subpath estimated numb

Re: [HACKERS] Questions about MergeAppend

2017-03-03 Thread Ashutosh Bapat
On Thu, Mar 2, 2017 at 8:00 PM, Ronan Dunklau wrote: > Hello, > > Looking into the MergeAppendPath generation, I'm a bit surprised by several > things: > > - When generating the mergeappendpath, we use a dummy path to take the sort > cost into account for non-sorted subpaths. This is called with