Commit 9d21e62
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 discarded at the end. This change preserves this
information.PlannedStmt.1 parent 0a8ca12 commit 9d21e62
2 files changed
+3
-0
lines changed| 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