Commit 9d99dacd authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Update test for newly implemented "<=" operator.

parent cad3c5d3
...@@ -23,9 +23,11 @@ s ...@@ -23,9 +23,11 @@ s
(5 rows) (5 rows)
QUERY: SELECT * FROM LSEG_TBL WHERE s <= '[(1,2),(3,4)]'::lseg; QUERY: SELECT * FROM LSEG_TBL WHERE s <= '[(1,2),(3,4)]'::lseg;
ERROR: There is no operator '<=' for types 'lseg' and 'lseg' s
You will either have to retype this query using an explicit cast, -------------
or you will have to define the operator using CREATE OPERATOR [(1,2),(3,4)]
(1 row)
QUERY: SELECT * FROM LSEG_TBL WHERE (s <-> '[(1,2),(3,4)]'::lseg) < 10; QUERY: SELECT * FROM LSEG_TBL WHERE (s <-> '[(1,2),(3,4)]'::lseg) < 10;
s s
------------------ ------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment