• Tom Lane's avatar
    Revert "Use Foreign Key relationships to infer multi-column join selectivity". · 77ba6108
    Tom Lane authored
    This commit reverts 137805f8 as well as the associated commits 015e8894,
    5306df28, and 68d704ed.  We found multiple bugs in this feature, and
    there was concern about possible planner slowdown (though to be fair,
    exhibiting a very large slowdown proved difficult).  The way forward
    requires a considerable rewrite, which may or may not be possible to
    accomplish in time for beta2.  In my judgment reviewing the rewrite will
    be easier to accomplish starting from a clean slate, so let's temporarily
    revert what's there now.  This also leaves us in a safe state if it turns
    out to be necessary to postpone the rewrite to the next development cycle.
    
    Discussion: <20160429102531.GA13701@huehner.biz>
    77ba6108
rangefuncs.out 52.8 KB