pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Teach bitmap heap scan to cope with absence of a DSA.
Date: Tue, 28 Nov 2017 16:52:35 +0000
Message-ID: <E1eJj7b-00037K-26@gemulon.postgresql.org> (raw)

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(+)



view thread (2+ messages)  latest in thread

Message-ID: <E1eJj7b-00037K-26@gemulon.postgresql.org>
Permalink:  ../E1eJj7b-00037K-26@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1eJj7b-00037K-26@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: Teach bitmap heap scan to cope with absence of a DSA.
  In-Reply-To: <E1eJj7b-00037K-26@gemulon.postgresql.org>
  References: <E1eJj7b-00037K-26@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox