forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit798c017
committed
remove_rel_from_query() must clean up PlaceHolderVar.phrels fields.
While we got away with this sloppiness before, it's not okay nowthatfee7b77 caused build_joinrel_tlist() to make use of phrels.Per report from Robins Tharakan.Richard Guo (some cosmetic tweaks by me)Discussion:https://postgr.es/m/CAMbWs4_ngw9sKxpTE8hqk=-ooVX_CQP3DarA4HzkRMz_JKpTrA@mail.gmail.com1 parentb7e84c6 commit798c017
File tree
3 files changed
+33
-7
lines changed- src
- backend/optimizer/plan
- test/regress
- expected
- sql
3 files changed
+33
-7
lines changedLines changed: 10 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
316 | 316 |
| |
317 | 317 |
| |
318 | 318 |
| |
319 |
| - | |
320 |
| - | |
321 |
| - | |
322 |
| - | |
323 |
| - | |
324 |
| - | |
| 319 | + | |
| 320 | + | |
325 | 321 |
| |
326 | 322 |
| |
327 | 323 |
| |
| |||
429 | 425 |
| |
430 | 426 |
| |
431 | 427 |
| |
| 428 | + | |
| 429 | + | |
432 | 430 |
| |
433 | 431 |
| |
434 |
| - | |
| 432 | + | |
435 | 433 |
| |
436 | 434 |
| |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
437 | 440 |
| |
438 | 441 |
| |
439 | 442 |
| |
|
Lines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5052 | 5052 |
| |
5053 | 5053 |
| |
5054 | 5054 |
| |
| 5055 | + | |
| 5056 | + | |
| 5057 | + | |
| 5058 | + | |
| 5059 | + | |
| 5060 | + | |
| 5061 | + | |
| 5062 | + | |
| 5063 | + | |
| 5064 | + | |
| 5065 | + | |
| 5066 | + | |
| 5067 | + | |
| 5068 | + | |
| 5069 | + | |
| 5070 | + | |
5055 | 5071 |
| |
5056 | 5072 |
| |
5057 | 5073 |
| |
|
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1813 | 1813 |
| |
1814 | 1814 |
| |
1815 | 1815 |
| |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
1816 | 1823 |
| |
1817 | 1824 |
| |
1818 | 1825 |
| |
|
0 commit comments
Comments
(0)