diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-08-15 16:49:47 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-08-15 16:49:52 -0400 |
commit | b73f1b5c29e0ace5a281bc13ce09dea30e1b66de (patch) | |
tree | e02e37ead2ff82bba9dec8d755b109feadf17f33 /src/backend/utils/adt/xml.c | |
parent | 70b573b2677eb5ef28515e824e5027e26ce21d77 (diff) | |
download | postgresql-b73f1b5c29e0ace5a281bc13ce09dea30e1b66de.tar.gz postgresql-b73f1b5c29e0ace5a281bc13ce09dea30e1b66de.zip |
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
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions