forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit101fd93
committed
Add a GetForeignUpperPaths callback function for FDWs.
This is basically like the just-added create_upper_paths_hook, butcontrol is funneled only to the FDW responsible for all the baserelsof the current query; so providing such a callback is much less likelyto add useless overhead than using the hook function is.The documentation is a bit sketchy. We'll likely want to improve it,and/or adjust the call conventions, when we get some experience withactually using this callback. Hopefully somebody will find time toexperiment with it before 9.6 feature freeze.1 parentbe6de4c commit101fd93
File tree
5 files changed
+67
-17
lines changed- doc/src/sgml
- src
- backend/optimizer
- plan
- util
- include/foreign
5 files changed
+67
-17
lines changedLines changed: 40 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
176 | 176 |
| |
177 | 177 |
| |
178 | 178 |
| |
179 |
| - | |
| 179 | + | |
| 180 | + | |
180 | 181 |
| |
181 | 182 |
| |
182 | 183 |
| |
| |||
344 | 345 |
| |
345 | 346 |
| |
346 | 347 |
| |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
347 | 380 |
| |
348 | 381 |
| |
349 | 382 |
| |
| |||
1160 | 1193 |
| |
1161 | 1194 |
| |
1162 | 1195 |
| |
1163 |
| - | |
| 1196 | + | |
| 1197 | + | |
1164 | 1198 |
| |
1165 | 1199 |
| |
1166 | 1200 |
| |
| |||
1322 | 1356 |
| |
1323 | 1357 |
| |
1324 | 1358 |
| |
1325 |
| - | |
| 1359 | + | |
1326 | 1360 |
| |
1327 | 1361 |
| |
1328 | 1362 |
| |
| |||
1332 | 1366 |
| |
1333 | 1367 |
| |
1334 | 1368 |
| |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
1335 | 1372 |
| |
1336 | 1373 |
| |
1337 | 1374 |
| |
|
Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
916 | 916 |
| |
917 | 917 |
| |
918 | 918 |
| |
919 |
| - | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
920 | 923 |
| |
921 | 924 |
| |
922 | 925 |
| |
|
Lines changed: 10 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1752 | 1752 |
| |
1753 | 1753 |
| |
1754 | 1754 |
| |
1755 |
| - | |
1756 |
| - | |
1757 |
| - | |
1758 |
| - | |
1759 |
| - | |
1760 |
| - | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
1761 | 1761 |
| |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
1762 | 1766 |
| |
1763 | 1767 |
| |
1764 | 1768 |
| |
|
Lines changed: 7 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1813 | 1813 |
| |
1814 | 1814 |
| |
1815 | 1815 |
| |
1816 |
| - | |
1817 |
| - | |
| 1816 | + | |
| 1817 | + | |
1818 | 1818 |
| |
1819 | 1819 |
| |
1820 |
| - | |
1821 |
| - | |
1822 |
| - | |
1823 |
| - | |
1824 |
| - | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
| 1823 | + | |
| 1824 | + | |
1825 | 1825 |
| |
1826 | 1826 |
| |
1827 | 1827 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 |
| |
63 | 66 |
| |
64 | 67 |
| |
| |||
166 | 169 |
| |
167 | 170 |
| |
168 | 171 |
| |
| 172 | + | |
| 173 | + | |
| 174 | + | |
169 | 175 |
| |
170 | 176 |
| |
171 | 177 |
| |
|
0 commit comments
Comments
(0)