Skip to content
Snippets Groups Projects
Commit 9d99dacd authored by Thomas G. Lockhart's avatar Thomas G. Lockhart
Browse files

Update test for newly implemented "<=" operator.

parent cad3c5d3
No related branches found
No related tags found
No related merge requests found
...@@ -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
------------------ ------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment