• Tom Lane's avatar
    Be more wary of missing statistics in eqjoinsel_semi(). · 3f5d2fe3
    Tom Lane authored
    In particular, if we don't have real ndistinct estimates for both sides,
    fall back to assuming that half of the left-hand rows have join partners.
    This is what was done in 8.2 and 8.3 (cf nulltestsel() in those versions).
    It's pretty stupid but it won't lead us to think that an antijoin produces
    no rows out, as seen in recent example from Uwe Schroeder.
    3f5d2fe3
selfuncs.c 191 KB