From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix parallel index and index-only scans to fall back to serial. |
Date: | 2017-03-08 13:17:36 |
Message-ID: | E1clbTE-00063b-Ap@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
Fix parallel index and index-only scans to fall back to serial.
Parallel executor nodes can't assume that parallel execution will
happen in every case where the plan calls for it, because it might
not work out that way. However, parallel index scan and parallel
index-only scan failed to do the right thing here. Repair.
Amit Kapila, per a report from me.
Discussion: http://postgr.es/m/CAA4eK1Kq5qb_u2AOoda5XBB91vVWz90w=LgtRLgsssriS8pVTw@mail.gmail.com
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/09529a70bb5a77935d086d651c63396767d240d7
Modified Files
--------------
src/backend/executor/nodeIndexonlyscan.c | 72 +++++++++++++------------
src/backend/executor/nodeIndexscan.c | 90 ++++++++++++++++++++------------
2 files changed, 96 insertions(+), 66 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2017-03-08 13:25:24 | pgsql: Remove inclusion of postgres.h from a few header files. |
Previous Message | Robert Haas | 2017-03-08 13:11:59 | pgsql: tidbitmap: Support shared iteration. |
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2017-03-08 13:22:22 | Re: Skip all-visible pages during second HeapScan of CIC |
Previous Message | Robert Haas | 2017-03-08 13:12:02 | Re: Parallel bitmap heap scan |