OSDN Git Service

A little further tweaking of the range-query selectivity logic:
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 23 Mar 2000 23:35:47 +0000 (23:35 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 23 Mar 2000 23:35:47 +0000 (23:35 +0000)
commit7177bbac29b10c2936b7700464d46b30aaa16f02
treeaf51ac0fd47a85db65933eb367309262db8468e5
parent6d79d6027c61832cedf60757c83607495b3ee3a2
A little further tweaking of the range-query selectivity logic:
to avoid undue sensitivity to roundoff error, believe that a zero
or slightly negative range estimate should represent a small
positive selectivity, rather than falling back on a generic default
estimate.
src/backend/optimizer/path/clausesel.c