Create a new 'MultiExecProcNode' call API for plan nodes that don't
Tom Lane <tgl@sss.pgh.pa.us>
Create a new 'MultiExecProcNode' call API for plan nodes that don't return just a single tuple at a time. Currently the only such node type is Hash, but I expect we will soon have indexscans that can return tuple bitmaps. A side benefit is that EXPLAIN ANALYZE now shows the correct tuple count for a Hash node.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/explain.c | modified | +6 −5 |
| src/backend/executor/execProcnode.c | modified | +45 −1 |
| src/backend/executor/instrument.c | modified | +22 −16 |
| src/backend/executor/nodeHash.c | modified | +35 −7 |
| src/backend/executor/nodeHashjoin.c | modified | +3 −3 |
| src/include/executor/executor.h | modified | +2 −1 |
| src/include/executor/hashjoin.h | modified | +2 −2 |
| src/include/executor/instrument.h | modified | +4 −3 |
| src/include/executor/nodeHash.h | modified | +2 −1 |