- Notifications
You must be signed in to change notification settings - Fork28
Commitd358da8
committed
Fix ExecuteCallStmt to not scribble on the passed-in parse tree.
Modifying the parse tree at execution time is, or at least ought to be,verboten. It seems quite difficult to actually cause a crash this wayin v11 (although you can exhibit it pretty easily in HEAD by messingwith plan_cache_mode). Nonetheless, it's risky, so fix and back-patch.Discussion:https://postgr.es/m/13789.1541359611@sss.pgh.pa.us1 parent4b0c371 commitd358da8
1 file changed
+18
-5
lines changedLines changed: 18 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2225 | 2225 |
| |
2226 | 2226 |
| |
2227 | 2227 |
| |
| 2228 | + | |
2228 | 2229 |
| |
2229 | 2230 |
| |
2230 | 2231 |
| |
| |||
2253 | 2254 |
| |
2254 | 2255 |
| |
2255 | 2256 |
| |
2256 |
| - | |
| 2257 | + | |
2257 | 2258 |
| |
2258 | 2259 |
| |
2259 | 2260 |
| |
2260 |
| - | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
2261 | 2265 |
| |
2262 |
| - | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
2263 | 2276 |
| |
2264 | 2277 |
| |
2265 | 2278 |
| |
| |||
2362 | 2375 |
| |
2363 | 2376 |
| |
2364 | 2377 |
| |
2365 |
| - | |
2366 |
| - | |
| 2378 | + | |
| 2379 | + | |
2367 | 2380 |
| |
2368 | 2381 |
| |
2369 | 2382 |
| |
|
0 commit comments
Comments
(0)