so i have determined that the OVERLAPS operator is not supported by the postgres dialect.
i have been attempting to add this operator to an extension of the pg dialect. but i cant seem to make it work.. my attempts have led me to this error
Code:
ERROR: function pg_catalog.overlaps(timestamp without time zone, timestamp without time zone, "unknown", "unknown") is not unique
the OVERLAPS operator description from the Postgres website
Quote:
(start1, end1) OVERLAPS (start2, end2)
(start1, length1) OVERLAPS (start2, length2)
This expression yields true when two time periods (defined by their endpoints) overlap, false when they do not overlap. The endpoints can be specified as pairs of dates, times, or time stamps; or as a date, time, or time stamp followed by an interval.
SELECT (DATE '2001-02-16', DATE '2001-12-21') OVERLAPS
(DATE '2001-10-30', DATE '2002-10-30');
Result: true
SELECT (DATE '2001-02-16', INTERVAL '100 days') OVERLAPS
(DATE '2001-10-30', DATE '2002-10-30');
Result: false
any ideas ?
thanks,
-x