* Copy cost and size info from a Path node to the Plan node created from it. * The executor usually won't use this info, but it's needed by EXPLAIN. * Also copy the parallel-related flags, which the executor *will* use. */
| 6578 | * Also copy the parallel-related flags, which the executor *will* use. |
| 6579 | */ |
| 6580 | static void |
| 6581 | copy_generic_path_info(Plan *dest, Path *src) |
| 6582 | { |
| 6583 | dest->startup_cost = src->startup_cost; |
| 6584 | dest->total_cost = src->total_cost; |
| 6585 | dest->plan_rows = src->rows; |
| 6586 | dest->plan_width = src->pathtarget->width; |
| 6587 | dest->parallel_aware = src->parallel_aware; |
| 6588 | dest->parallel_safe = src->parallel_safe; |
| 6589 | } |
| 6590 | |
| 6591 | /* |
| 6592 | * Copy cost and size info from a lower plan node to an inserted node. |
no outgoing calls
no test coverage detected