pgsql: Teach bitmap heap scan to cope with absence of a DSA.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Teach bitmap heap scan to cope with absence of a DSA.
Date: 2017-11-28 16:52:35
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c6755e233be1cccadd0884d952a2bb455fa0db1f

Modified Files
--------------
src/backend/executor/nodeBitmapHeapscan.c | 11 +++++++++++
1 file changed, 11 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-11-28 17:21:52 pgsql: Fix ReinitializeParallelDSM to tolerate finding no error queues.
Previous Message Tom Lane 2017-11-28 16:35:37 Re: pgsql: PL/Python: Fix potential NULL pointer dereference