forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5da1dff
Undo faulty attempt at not relying on RINFO_IS_PUSHED_DOWN.
I've had a bee in my bonnet for some time about getting rid ofRestrictInfo.is_pushed_down, because it's squishily defined andrequires not-inexpensive extra tests to use (cf RINFO_IS_PUSHED_DOWN).In commit2489d76, I tried to make remove_rel_from_query() notdepend on that macro; but the replacement test is buggy,as exposed by a report from Rushabh Lathia and Robert Haas.That change was pretty incidental to the main goal of2489d76,so let's just revert it for now. (Getting rid of is_pushed_downis still far away, anyway.)Discussion:https://postgr.es/m/CA+TgmoYco=hmg+iX1CW9Y1_CzNoSL81J03wUG-d2_3=rue+L2A@mail.gmail.com1 parent8795a37 commit5da1dff
File tree
3 files changed
+23
-6
lines changed- src
- backend/optimizer/plan
- test/regress
- expected
- sql
3 files changed
+23
-6
lines changedLines changed: 1 addition & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
466 | 466 |
| |
467 | 467 |
| |
468 | 468 |
| |
469 |
| - | |
470 |
| - | |
471 |
| - | |
472 |
| - | |
473 |
| - | |
474 |
| - | |
| 469 | + | |
475 | 470 |
| |
476 | 471 |
| |
477 | 472 |
| |
|
Lines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5320 | 5320 |
| |
5321 | 5321 |
| |
5322 | 5322 |
| |
| 5323 | + | |
| 5324 | + | |
| 5325 | + | |
| 5326 | + | |
| 5327 | + | |
| 5328 | + | |
| 5329 | + | |
| 5330 | + | |
| 5331 | + | |
| 5332 | + | |
| 5333 | + | |
| 5334 | + | |
| 5335 | + | |
| 5336 | + | |
| 5337 | + | |
| 5338 | + | |
5323 | 5339 |
| |
5324 | 5340 |
| |
5325 | 5341 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1927 | 1927 |
| |
1928 | 1928 |
| |
1929 | 1929 |
| |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
1930 | 1936 |
| |
1931 | 1937 |
| |
1932 | 1938 |
| |
|
0 commit comments
Comments
(0)