On 20.09.2017 23:19, Alexander Korotkov wrote:
It is possible for bbox->low.x to be NaN when circle->center.x is and
circle->radius are both +Infinity. Without this float-order-preserving swapping
one regression test for KNN with ORDER BY index will be totally broken (you can
try it:
https://github.com/glukhovn/postgres/tree/knn). Unfortunately, I do not
remember exactly why, but most likely because of the incorrect index structure.
--