Re: pgsql: Fix parallel index and index-only scans to fall back to serial.

2018-07-19 Thread Heikki Linnakangas
On 14/07/18 00:56, Robert Haas wrote: On Fri, Jul 13, 2018 at 2:22 PM, Heikki Linnakangas wrote: I just bumped into this comment, from commit 09529a70bb5, and I can't make sense of it: + /* +* We reach here if the index only scan is not parallel, or if we're +

Re: pgsql: Fix parallel index and index-only scans to fall back to serial.

2018-07-13 Thread Robert Haas
On Fri, Jul 13, 2018 at 2:22 PM, Heikki Linnakangas wrote: > I just bumped into this comment, from commit 09529a70bb5, and I can't make > sense of it: > >> + /* >> +* We reach here if the index only scan is not parallel, >> or if we're >> +* executing

Re: pgsql: Fix parallel index and index-only scans to fall back to serial.

2018-07-13 Thread David G. Johnston
On Fri, Jul 13, 2018 at 12:22 PM, Heikki Linnakangas wrote: > Hi! > > I just bumped into this comment, from commit 09529a70bb5, and I can't make > sense of it: > > + /* >> +* We reach here if the index only scan is not parallel, >> or if we're >> +* e

Re: pgsql: Fix parallel index and index-only scans to fall back to serial.

2018-07-13 Thread Heikki Linnakangas
Hi! I just bumped into this comment, from commit 09529a70bb5, and I can't make sense of it: + /* +* We reach here if the index only scan is not parallel, or if we're +* executing a index only scan that was intended to be parallel +