pgsql: Fix parallel index and index-only scans to fall back to serial.
Robert Haas <rhaas@postgresql.org>
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Date: 2017-03-08T13:17:36Z
Lists: 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(-)
Commits
-
Rephrase a few comments for clarity.
- 8b1d2685b82f 9.6.10 landed
- a1dc4ea02044 10.5 landed
- 45fcd758a07f 11.0 landed
- 99fdebaf2da9 12.0 landed
-
Fix parallel index and index-only scans to fall back to serial.
- 09529a70bb5a 10.0 cited