]> granicus.if.org Git - postgresql/commit
Add optimizer and executor support for parallel index-only scans.
authorRobert Haas <rhaas@postgresql.org>
Sun, 19 Feb 2017 10:23:59 +0000 (15:53 +0530)
committerRobert Haas <rhaas@postgresql.org>
Sun, 19 Feb 2017 10:27:55 +0000 (15:57 +0530)
commit0414b26bac09379a4cbf1fbd847d1cee2293c5e4
tree16554f77178d068e27bd53c2404a6f8468c90746
parent16be2fd100199bdf284becfcee02c5eb20d8a11d
Add optimizer and executor support for parallel index-only scans.

Commit 5262f7a4fc44f651241d2ff1fa688dd664a34874 added similar support
for parallel index scans; this extends that work to index-only scans.
As with parallel index scans, this requires support from the index AM,
so currently parallel index-only scans will only be possible for btree
indexes.

Rafia Sabih, reviewed and tested by Rahila Syed, Tushar Ahuja,
and Amit Kapila

Discussion: http://postgr.es/m/CAOGQiiPEAs4C=TBp0XShxBvnWXuzGL2u++Hm1=qnCpd6_Mf8Fw@mail.gmail.com
src/backend/executor/execParallel.c
src/backend/executor/nodeIndexonlyscan.c
src/backend/optimizer/path/indxpath.c
src/include/executor/nodeIndexonlyscan.h
src/include/nodes/execnodes.h
src/test/regress/expected/select_parallel.out
src/test/regress/sql/select_parallel.sql