- Notifications
You must be signed in to change notification settings - Fork5
Commit3573c83
committed
Reset the per-output-tuple exprcontext each time through the main loop in
ExecModifyTable(). This avoids memory leakage when trigger functions leavejunk behind in that context (as they more or less must). Problem and solutionidentified by Dean Rasheed.I'm a bit concerned about the longevity of this solution --- once a plan canhave multiple ModifyTable nodes, we are very possibly going to have to dosomething different. But it should hold up for 9.0.1 parent2d8314b commit3573c83
1 file changed
+9
-1
lines changedLines changed: 9 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
682 | 682 |
| |
683 | 683 |
| |
684 | 684 |
| |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
685 | 693 |
| |
686 | 694 |
| |
687 | 695 |
| |
|
0 commit comments
Comments
(0)