• Vadim B. Mikheev's avatar
    Fix (hack) IndexSelectivity(): · fa2629b7
    Vadim B. Mikheev authored
    use sum(npages)/((nkeys == 1) ? 1 : nkeys + 1) as expected index page
    estimation for multi-key quals - instead of sum(npages).
    In old code npages for x > 10 and x < 20 is twice as for x > 10 - cool ?
    fa2629b7
plancat.c 16.6 KB