postgresql/src/pl/plpgsql/src
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
..
po Translation updates 2017-08-07 13:55:34 -04:00
.gitignore Avoid maintaining three separate copies of the error codes list. 2011-02-03 22:32:49 -05:00
Makefile Capitalize names of PLs consistently 2017-04-05 00:38:25 -04:00
generate-plerrcodes.pl Clean up Perl code according to perlcritic 2017-03-27 08:18:22 -04:00
nls.mk Translation updates 2017-08-07 13:55:34 -04:00
pl_comp.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
pl_exec.c Make simpler-simple-expressions code cope with a Gather plan. 2017-08-15 16:49:52 -04:00
pl_funcs.c Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
pl_gram.y Capitalize names of PLs consistently 2017-04-05 00:38:25 -04:00
pl_handler.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
pl_scanner.c Bring plpgsql into line with header inclusion policy. 2017-03-08 17:21:08 -05:00
plpgsql--1.0.sql Put comments on the installable procedural languages. 2011-07-03 19:03:51 -04:00
plpgsql--unpackaged--1.0.sql Create extension infrastructure for the core procedural languages. 2011-03-04 21:51:14 -05:00
plpgsql.control Create extension infrastructure for the core procedural languages. 2011-03-04 21:51:14 -05:00
plpgsql.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00