Commit 336fb9c
committed
Store the total number of plans in
Extensions that use planner/executor hooks can't
precisely pre-allocate memory for data structures
mirroring the plan as the number of plan nodes is unknown.
This information is effectively collected in the standard planner
in the node id counter but was thrown out at the end. This change
preserves this information.PlannedStmt.1 parent 0a8ca12 commit 336fb9c
2 files changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
555 | 555 | | |
556 | 556 | | |
557 | 557 | | |
| 558 | + | |
558 | 559 | | |
559 | 560 | | |
560 | 561 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
| |||
0 commit comments