pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Teach bitmap heap scan to cope with absence of a DSA. 2+ messages / 1 participants [nested] [flat]
* pgsql: Teach bitmap heap scan to cope with absence of a DSA. @ 2017-11-28 16:52 Robert Haas <rhaas@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Robert Haas @ 2017-11-28 16:52 UTC (permalink / raw) To: 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(+) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Teach bitmap heap scan to cope with absence of a DSA. @ 2017-11-28 16:52 Robert Haas <rhaas@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Robert Haas @ 2017-11-28 16:52 UTC (permalink / raw) To: 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 ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/ec7629dfb98a34cf4e459cf6b27febfd33ae9ad5 Modified Files -------------- src/backend/executor/nodeBitmapHeapscan.c | 11 +++++++++++ 1 file changed, 11 insertions(+) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2017-11-28 16:52 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2017-11-28 16:52 pgsql: Teach bitmap heap scan to cope with absence of a DSA. Robert Haas <rhaas@postgresql.org> 2017-11-28 16:52 pgsql: Teach bitmap heap scan to cope with absence of a DSA. Robert Haas <rhaas@postgresql.org>
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