diff options
author | Robert Haas <rhaas@postgresql.org> | 2017-11-28 11:39:16 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2017-11-28 11:44:59 -0500 |
commit | c6755e233be1cccadd0884d952a2bb455fa0db1f (patch) | |
tree | 20e52234f73f4a55c92051b389cdcd171782ea09 /src/backend/access/transam/parallel.c | |
parent | e42e2f38907681c48c43f49c5ec9f9f41a9aa9a5 (diff) | |
download | postgresql-c6755e233be1cccadd0884d952a2bb455fa0db1f.tar.gz postgresql-c6755e233be1cccadd0884d952a2bb455fa0db1f.zip |
Teach bitmap heap scan to cope with absence of a DSA.
If we have a plan that uses parallelism but are unable to execute it
using parallelism, for example due to a lack of available DSM
segments, then the EState's es_query_dsa will be NULL. Parallel
bitmap heap scan needs to fall back to a non-parallel scan in such
cases.
Patch by me, reviewed by Dilip Kumar
Discussion: http://postgr.es/m/CAEepm=0kADK5inNf_KuemjX=HQ=PuTP0DykM--fO5jS5ePVFEA@mail.gmail.com
Diffstat (limited to 'src/backend/access/transam/parallel.c')
0 files changed, 0 insertions, 0 deletions