postgresql/src/pl
Tom Lane b73f1b5c29 Make simpler-simple-expressions code cope with a Gather plan.
Commit 00418c612 expected that the plan generated for a simple-expression
query would always be a plain Result node.  However, if force_parallel_mode
is on, the planner might stick a Gather atop that.  Cope by looking through
the Gather.  For safety, assert that the Gather's tlist is trivial.

Per buildfarm.

Discussion: https://postgr.es/m/23425.1502822098@sss.pgh.pa.us
2017-08-15 16:49:52 -04:00
..
plperl Translation updates 2017-08-07 13:55:34 -04:00
plpgsql Make simpler-simple-expressions code cope with a Gather plan. 2017-08-15 16:49:52 -04:00
plpython Translation updates 2017-08-07 13:55:34 -04:00
tcl Translation updates 2017-08-07 13:55:34 -04:00
Makefile Make distprep and *clean build targets recurse into all subdirectories. 2011-07-03 13:55:12 -04:00