mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
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
This commit is contained in:
@ -1023,9 +1023,9 @@ _outPartitionPruneInfo(StringInfo str, const PartitionPruneInfo *node)
|
||||
WRITE_INT_FIELD(nparts);
|
||||
WRITE_INT_FIELD(nexprs);
|
||||
|
||||
appendStringInfoString(str, " :subnode_map");
|
||||
appendStringInfoString(str, " :subplan_map");
|
||||
for (i = 0; i < node->nparts; i++)
|
||||
appendStringInfo(str, " %d", node->subnode_map[i]);
|
||||
appendStringInfo(str, " %d", node->subplan_map[i]);
|
||||
|
||||
appendStringInfoString(str, " :subpart_map");
|
||||
for (i = 0; i < node->nparts; i++)
|
||||
|
Reference in New Issue
Block a user