Add new function planstate_tree_walker. ExplainPreScanNode knows how to iterate over a generic tree of plan states; factor that logic out into a separate walker function so that other code, such as upcoming patches for parallel query, can also use it.
Patch by me, reviewed by Tom Lane. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/8dd401aa07b91d46f81e51321523864d32843523 Modified Files -------------- src/backend/commands/explain.c | 93 +----------------------------- src/backend/nodes/nodeFuncs.c | 125 ++++++++++++++++++++++++++++++++++++++++ src/include/nodes/nodeFuncs.h | 4 ++ 3 files changed, 132 insertions(+), 90 deletions(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
