mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-03 08:26:50 +02:00
Update test for newly implemented "<=" operator.
This commit is contained in:
parent
cad3c5d35b
commit
9d99dacd08
@ -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
|
||||||
------------------
|
------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user