@@ -35,45 +35,53 @@ USE GRAPH expr;
35
35
-- a bunch of comparison operators
36
36
--
37
37
RETURN 1 = 1.0;
38
- ERROR: operator is not unique: postgraph.gtype = postgraph.gtype
39
- LINE 1: RETURN 1 = 1.0;
40
- ^
41
- HINT: Could not choose a best candidate operator. You might need to add explicit type casts.
38
+ ?column?
39
+ ----------
40
+ t
41
+ (1 row)
42
+
42
43
RETURN 1 > -1.0;
43
- ERROR: operator is not unique: postgraph.gtype > postgraph.gtype
44
- LINE 1: RETURN 1 > -1.0;
45
- ^
46
- HINT: Could not choose a best candidate operator. You might need to add explicit type casts.
44
+ ?column?
45
+ ----------
46
+ t
47
+ (1 row)
48
+
47
49
RETURN -1.0 < 1;
48
- ERROR: operator is not unique: postgraph.gtype < postgraph.gtype
49
- LINE 1: RETURN -1.0 < 1;
50
- ^
51
- HINT: Could not choose a best candidate operator. You might need to add explicit type casts.
50
+ ?column?
51
+ ----------
52
+ t
53
+ (1 row)
54
+
52
55
RETURN 'aaa' < 'z';
53
- ERROR: operator is not unique: postgraph.gtype < postgraph.gtype
54
- LINE 1: RETURN 'aaa' < 'z';
55
- ^
56
- HINT: Could not choose a best candidate operator. You might need to add explicit type casts.
56
+ ?column?
57
+ ----------
58
+ t
59
+ (1 row)
60
+
57
61
RETURN 'z' > 'aaa';
58
- ERROR: operator is not unique: postgraph.gtype > postgraph.gtype
59
- LINE 1: RETURN 'z' > 'aaa';
60
- ^
61
- HINT: Could not choose a best candidate operator. You might need to add explicit type casts.
62
+ ?column?
63
+ ----------
64
+ t
65
+ (1 row)
66
+
62
67
RETURN false = false;
63
- ERROR: operator is not unique: postgraph.gtype = postgraph.gtype
64
- LINE 1: RETURN false = false;
65
- ^
66
- HINT: Could not choose a best candidate operator. You might need to add explicit type casts.
68
+ ?column?
69
+ ----------
70
+ t
71
+ (1 row)
72
+
67
73
RETURN ('string' < true);
68
- ERROR: operator is not unique: postgraph.gtype < postgraph.gtype
69
- LINE 1: RETURN ('string' < true);
70
- ^
71
- HINT: Could not choose a best candidate operator. You might need to add explicit type casts.
74
+ ?column?
75
+ ----------
76
+ t
77
+ (1 row)
78
+
72
79
RETURN true < 1;
73
- ERROR: operator is not unique: postgraph.gtype < postgraph.gtype
74
- LINE 1: RETURN true < 1;
75
- ^
76
- HINT: Could not choose a best candidate operator. You might need to add explicit type casts.
80
+ ?column?
81
+ ----------
82
+ t
83
+ (1 row)
84
+
77
85
RETURN (1 + 1.0) = (7 % 5);
78
86
?column?
79
87
----------
0 commit comments