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_4_STABLE
parent
0699d053ba
commit
8057b7554b
Loading…
Reference in new issue