• Tom Lane's avatar
    First step in fixing selectivity-estimation code. eqsel and · 44878506
    Tom Lane authored
    neqsel now behave as per my suggestions in pghackers a few days ago.
    selectivity for < > <= >= should work OK for integral types as well, but
    still need work for nonintegral types.  Since these routines have never
    actually executed before :-(, this may result in some significant changes
    in the optimizer's choices of execution plans.  Let me know if you see
    any serious misbehavior.
    CAUTION: THESE CHANGES REQUIRE INITDB.  pg_statistic table has changed.
    44878506
selfuncs.c 24 KB