You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Allow FDWs and custom scan providers to replace joins with scans.
Foreign data wrappers can use this capability for so-called "joinpushdown"; that is, instead of executing two separate foreign scansand then joining the results locally, they can generate a path whichperforms the join on the remote server and then is scanned locally.This commit does not extend postgres_fdw to take advantage of thiscapability; it just provides the infrastructure.Custom scan providers can use this in a similar way. Previously,it was only possible for a custom scan provider to scan a singlerelation. Now, it can scan an entire join tree, provided of coursethat it knows how to produce the same results that the join wouldhave produced if executed normally.KaiGai Kohei, reviewed by Shigeru Hanada, Ashutosh Bapat, and me.