From 321f648a312bd188b7a5c33a0548a57f45dfbf42 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 10 Jun 2018 18:24:34 -0400 Subject: 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 --- src/backend/nodes/readfuncs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/nodes/readfuncs.c') diff --git a/src/backend/nodes/readfuncs.c b/src/backend/nodes/readfuncs.c index f41e590a155..42aff7f57a3 100644 --- a/src/backend/nodes/readfuncs.c +++ b/src/backend/nodes/readfuncs.c @@ -2333,7 +2333,7 @@ _readPartitionPruneInfo(void) READ_BITMAPSET_FIELD(present_parts); READ_INT_FIELD(nparts); READ_INT_FIELD(nexprs); - READ_INT_ARRAY(subnode_map, local_node->nparts); + READ_INT_ARRAY(subplan_map, local_node->nparts); READ_INT_ARRAY(subpart_map, local_node->nparts); READ_BOOL_ARRAY(hasexecparam, local_node->nexprs); READ_BOOL_FIELD(do_initial_prune); -- cgit v1.2.3