Update test for newly implemented "<=" operator.
This commit is contained in:
parent
cad3c5d35b
commit
9d99dacd08
@ -23,9 +23,11 @@ s
|
||||
(5 rows)
|
||||
|
||||
QUERY: SELECT * FROM LSEG_TBL WHERE s <= '[(1,2),(3,4)]'::lseg;
|
||||
ERROR: There is no operator '<=' for types 'lseg' and 'lseg'
|
||||
You will either have to retype this query using an explicit cast,
|
||||
or you will have to define the operator using CREATE OPERATOR
|
||||
s
|
||||
-------------
|
||||
[(1,2),(3,4)]
|
||||
(1 row)
|
||||
|
||||
QUERY: SELECT * FROM LSEG_TBL WHERE (s <-> '[(1,2),(3,4)]'::lseg) < 10;
|
||||
s
|
||||
------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user