mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +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:
@ -1186,7 +1186,7 @@ _copyPartitionPruneInfo(const PartitionPruneInfo *from)
|
||||
COPY_BITMAPSET_FIELD(present_parts);
|
||||
COPY_SCALAR_FIELD(nparts);
|
||||
COPY_SCALAR_FIELD(nexprs);
|
||||
COPY_POINTER_FIELD(subnode_map, from->nparts * sizeof(int));
|
||||
COPY_POINTER_FIELD(subplan_map, from->nparts * sizeof(int));
|
||||
COPY_POINTER_FIELD(subpart_map, from->nparts * sizeof(int));
|
||||
COPY_POINTER_FIELD(hasexecparam, from->nexprs * sizeof(bool));
|
||||
COPY_SCALAR_FIELD(do_initial_prune);
|
||||
|
Reference in New Issue
Block a user