forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9cbc4b8
committed
Redo postgres_fdw's planner code so it can handle parameterized paths.
I wasn't going to ship this without having at least some example of howto do that. This version isn't terribly bright; in particular it won'tconsider any combinations of multiple join clauses. Given the cost ofexecuting a remote EXPLAIN, I'm not sure we want to be very aggressiveabout doing that, anyway.In support of this, refactor generate_implied_equalities_for_indexcolso that it can be used to extract equivalence clauses that aren'tnecessarily tied to an index.1 parent08af1a0 commit9cbc4b8
File tree
8 files changed
+919
-553
lines changed- contrib/postgres_fdw
- expected
- sql
- src
- backend/optimizer/path
- include/optimizer
8 files changed
+919
-553
lines changedLines changed: 235 additions & 164 deletions
Large diffs are not rendered by default.
Lines changed: 22 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
446 | 446 |
| |
447 | 447 |
| |
448 | 448 |
| |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
449 | 470 |
| |
450 | 471 |
| |
451 | 472 |
| |
| |||
646 | 667 |
| |
647 | 668 |
| |
648 | 669 |
| |
649 |
| - | |
| 670 | + | |
650 | 671 |
| |
651 | 672 |
| |
652 | 673 |
| |
|
0 commit comments
Comments
(0)