• Heikki Linnakangas's avatar
    Add cost estimation of range @> and <@ operators. · 59d0bf9d
    Heikki Linnakangas authored
    The estimates are based on the existing lower bound histogram, and a new
    histogram of range lengths.
    
    Bump catversion, because the range length histogram now needs to be present
    in statistic slot kind 6, or you get an error on @> and <@ queries. (A
    re-ANALYZE would be enough to fix that, though)
    
    Alexander Korotkov, with some refactoring by me.
    59d0bf9d
pg_operator.h 96.2 KB