On 27 March 2017 at 10:23, Tomas Vondra <tomas.von...@2ndquadrant.com> wrote: > I'm not sure we need to invent a new magic value, though. Can we simply look > at force_parallel_mode, and if it's 'regress' then tread 0 differently?
see standard_planner() if (force_parallel_mode != FORCE_PARALLEL_OFF && best_path->parallel_safe) { Gather *gather = makeNode(Gather); Probably force_parallel_mode is good for testing the tuple queue code, and some code in Gather, but I'm not quite sure what else its good for. Certainly not GatherMerge. -- David Rowley http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers