mirror of https://github.com/postgres/postgres
Apparently sane-looking penalty code might return small negative values, for example because of roundoff error. This will confuse places like gistchoose(). Prevent problems by clamping negative penalty values to zero. (Just to be really sure, I also made it force NaNs to zero.) Back-patch to all supported branches. Alexander KorotkovREL8_3_STABLE
parent
1d6dd87c4b
commit
ca76a3956c
Loading…
Reference in new issue