I try to understand how does overlapping box with infinity works
Why does the following exemple doesn't work. It works fine except when i try to introduce two infinite values.
This exemple should return true.
SELECT box '((1,1),(infinity, 1))' && box '((2, 1),(infinity, 1))' AS overlap;
overlap
---------
f
The two exemples below works
SELECT box '((1,1),(4, 1))' && box '((2, 1),(infinity, 1))' AS overlap;
overlap
---------
t
SELECT box '((1,1),(4, 1))' && box '((2, 1),(5, 1))' AS overlap;
overlap
---------
t
So my question is : Is there something i'm doing wrong or that i don't understand?