Repair usage of the OVERLAPS operator.
Thomas G. Lockhart <lockhart@fourpalms.org>
Repair usage of the OVERLAPS operator. Allow some operator-like tokens to be used as function names. Flesh out support for time, timetz, and interval operators and interactions. Regression tests pass, but non-reference-platform horology test results will need to be updated.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/parser/gram.y | modified | +66 −30 |
| src/backend/utils/adt/date.c | modified | +111 −3 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_operator.h | modified | +8 −1 |
| src/include/catalog/pg_proc.h | modified | +25 −9 |
| src/include/port/linux.h | modified | +5 −0 |
| src/include/utils/date.h | modified | +7 −1 |
| src/test/regress/expected/horology.out | modified | +706 −0 |
| src/test/regress/expected/time.out | modified | +11 −119 |
| src/test/regress/sql/horology.sql | modified | +84 −0 |
| src/test/regress/sql/time.sql | modified | +7 −38 |