diff options
author | Robert Haas <rhaas@postgresql.org> | 2018-02-28 10:56:06 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2018-02-28 10:58:27 -0500 |
commit | ce1663cdcdbd9bf15c81570277f70571b3727dd3 (patch) | |
tree | 5dab19d776f5c78c882c7bed9ec9a8e571f0a58c /src/backend/utils/adt/encode.c | |
parent | 4fa396464e5fe238b7994535182f28318c61c78e (diff) | |
download | postgresql-ce1663cdcdbd9bf15c81570277f70571b3727dd3.tar.gz postgresql-ce1663cdcdbd9bf15c81570277f70571b3727dd3.zip |
Fix assertion failure when Parallel Append is run serially.
Parallel-aware plan nodes must be prepared to run without parallelism
if it's not possible at execution time for whatever reason. Commit
ab72716778128fb63d54ac256adf7fe6820a1185, which introduced Parallel
Append, overlooked this.
Rajkumar Raghuwanshi reported this problem, and I included his test
case in this patch. The code changes are by me.
Discussion: http://postgr.es/m/CAKcux6=WqkUudLg1GLZZ7fc5ScWC1+Y9qD=pAHeqy32WoeJQvw@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/encode.c')
0 files changed, 0 insertions, 0 deletions