Update test for newly implemented "<=" operator.

This commit is contained in:
Thomas G. Lockhart 1998-02-11 04:13:33 +00:00
parent cad3c5d35b
commit 9d99dacd08
1 changed files with 5 additions and 3 deletions

View File

@ -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
------------------