- Notifications
You must be signed in to change notification settings - Fork28
Commitc058fc2
committed
Rationalize expression context reset in ExecModifyTable().
The current pattern of reseting expressions both inExecProcessReturning() and ExecOnConflictUpdate() makes it harder thannecessary to reason about memory lifetimes. It also requiresmaterializing slots unnecessarily, although this patch doesn't takeadvantage of the fact that that's not necessary anymore.Instead reset the expression context once for each input tuple.Author: Ashutosh BapatDiscussion:https://postgr.es/m/20181105210039.hh4vvi4vwoq5ba2q@alap3.anarazel.de1 parent6a74441 commitc058fc2
1 file changed
+9
-13
lines changedLines changed: 9 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
163 | 163 |
| |
164 | 164 |
| |
165 | 165 |
| |
166 |
| - | |
167 |
| - | |
168 |
| - | |
169 |
| - | |
170 |
| - | |
171 |
| - | |
172 | 166 |
| |
173 | 167 |
| |
174 | 168 |
| |
| |||
1453 | 1447 |
| |
1454 | 1448 |
| |
1455 | 1449 |
| |
1456 |
| - | |
1457 |
| - | |
1458 |
| - | |
1459 |
| - | |
1460 |
| - | |
1461 |
| - | |
1462 |
| - | |
| 1450 | + | |
1463 | 1451 |
| |
1464 | 1452 |
| |
1465 | 1453 |
| |
| |||
2028 | 2016 |
| |
2029 | 2017 |
| |
2030 | 2018 |
| |
| 2019 | + | |
| 2020 | + | |
| 2021 | + | |
| 2022 | + | |
| 2023 | + | |
| 2024 | + | |
| 2025 | + | |
| 2026 | + | |
2031 | 2027 |
| |
2032 | 2028 |
| |
2033 | 2029 |
| |
|
0 commit comments
Comments
(0)