I expect this period from '2011-01-28' to '2011-02-01' OVERLAPS the period from '2011-02-01' to '2011-02-01' (which is on the same day here), but this is not true!
PostgreSQL, expecting an exact endpoint to match, is NOT a match ... how do I get rid of this? I would like him to consider the above scenario as an overlap.
SELECT (DATE '2011-01-28', DATE '2011-02-01') OVERLAPS
(DATE '2011-02-01', DATE '2011-02-01');
returns false, while I expect it to return true.
source
share