forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4a8a5dd

Etsuro Fujita
Improve comments for trivial_subqueryscan().
This function can be called from mark_async_capable_plan(), a helperfunction for create_append_plan(), before set_subqueryscan_references(),to determine the triviality of a SubqueryScan that is a child of anAppend plan node, which is done before doing finalize_plan() on theSubqueryScan (if necessary) and set_plan_references() on the subplan,unlike when called from set_subqueryscan_references(). The reason whythis is safe wouldn't be that obvious, so add comments explaining this.Follow-up for commitc2bb02b.Reviewed by Zhihong Yu.Discussion:https://postgr.es/m/CAPmGK17%2BGiJBthC6va7%2B9n6t75e-M1N0U18YB2G1B%2BE5OdrNTA%40mail.gmail.com1 parente77de23 commit4a8a5dd
1 file changed
+18
-3
lines changedLines changed: 18 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1349 | 1349 |
| |
1350 | 1350 |
| |
1351 | 1351 |
| |
1352 |
| - | |
1353 |
| - | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
1354 | 1369 |
| |
1355 | 1370 |
| |
1356 | 1371 |
| |
| |||
1359 | 1374 |
| |
1360 | 1375 |
| |
1361 | 1376 |
| |
1362 |
| - | |
| 1377 | + | |
1363 | 1378 |
| |
1364 | 1379 |
| |
1365 | 1380 |
| |
|
0 commit comments
Comments
(0)