pgsql: Add a C API for parallel heap scans.
От | Robert Haas |
---|---|
Тема | pgsql: Add a C API for parallel heap scans. |
Дата | |
Msg-id | E1ZnCga-0007NW-IL@gemulon.postgresql.org обсуждение исходный текст |
Список | pgsql-committers |
Add a C API for parallel heap scans. Using this API, one backend can set up a ParallelHeapScanDesc to which multiple backends can then attach. Each tuple in the relation will be returned to exactly one of the scanning backends. Only forward scans are supported, and rescans must be carefully coordinated. This is not exposed to the planner or executor yet. The original version of this code was written by me. Amit Kapila reviewed it, tested it, and improved it, including adding support for synchronized scans, per review comments from Jeff Davis. Extensive testing of this and related patches was performed by Haribabu Kommi. Final cleanup of this patch by me. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/ee7ca559fcf404f9a3bd99da85c8f4ea9fbc2e92 Modified Files -------------- src/backend/access/heap/heapam.c | 244 ++++++++++++++++++++++++++++++++++++-- src/include/access/heapam.h | 8 +- src/include/access/relscan.h | 20 ++++ 3 files changed, 261 insertions(+), 11 deletions(-)
В списке pgsql-committers по дате отправления: