Re: [HACKERS] [COMMITTERS] pgsql: Avoid GatherMerge crash when thereare no workers.
Re: [HACKERS] [COMMITTERS] pgsql: Avoid GatherMerge crash when thereare no workers.
От:
Andres Freund <andres@anarazel.de>
Дата:
Hi, On 2017-04-03 12:56:36 +0530, Rushabh Lathia wrote: > On my local environment I was getting coverage for the heap_compare_slots > with > existing test. But it seems like due to low number of record fetch only > leader get > evolved to the fetching tuples in the shared report. > > I modified the current test coverage for the Gather Merge to add more rows > to be > fetch by the GatherMerge node to make sure that it do coverage for > heap_compare_slots. Also added test for the zero worker. > > PFA patch as well as LCOV report for the nodeGatherMerge.c. Pushed, thanks! - Andres