Assorted cosmetic cleanup of run-time-partition-pruning code.
Tom Lane <tgl@sss.pgh.pa.us>
Assorted cosmetic cleanup of run-time-partition-pruning code. Use "subplan" rather than "subnode" to refer to the child plans of a partitioning Append; this seems a bit more specific and hence clearer. Improve assorted comments. No non-cosmetic changes. David Rowley and Tom Lane Discussion: https://postgr.es/m/CAFj8pRBjrufA3ocDm8o4LPGNye9Y+pm1b9kCwode4X04CULG3g@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/execPartition.c | modified | +77 −86 |
| src/backend/nodes/copyfuncs.c | modified | +1 −1 |
| src/backend/nodes/outfuncs.c | modified | +2 −2 |
| src/backend/nodes/readfuncs.c | modified | +1 −1 |
| src/backend/partitioning/partprune.c | modified | +32 −36 |
| src/include/executor/execPartition.h | modified | +25 −23 |
| src/include/nodes/plannodes.h | modified | +9 −7 |
Discussion
- why partition pruning doesn't work? 72 messages · 2018-06-01 → 2018-07-18