• Tom Lane's avatar
    Add a GetForeignUpperPaths callback function for FDWs. · 101fd934
    Tom Lane authored
    This is basically like the just-added create_upper_paths_hook, but
    control is funneled only to the FDW responsible for all the baserels
    of the current query; so providing such a callback is much less likely
    to 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 with
    actually using this callback.  Hopefully somebody will find time to
    experiment with it before 9.6 feature freeze.
    101fd934
planner.c 143 KB