blob: c6a792771c0a98c233a4e891888d79dd2e948262 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
<sql-statement>
--
-- OID
--
CREATE TABLE OID_TBL(f1 oid);
</sql-statement>
<sql-statement>
INSERT INTO OID_TBL(f1) VALUES ('1234');
</sql-statement>
<sql-statement>
INSERT INTO OID_TBL(f1) VALUES ('1235');
</sql-statement>
<sql-statement>
INSERT INTO OID_TBL(f1) VALUES ('987');
</sql-statement>
<sql-statement>
INSERT INTO OID_TBL(f1) VALUES ('-1040');
</sql-statement>
<sql-statement>
INSERT INTO OID_TBL(f1) VALUES ('99999999');
</sql-statement>
<sql-statement>
INSERT INTO OID_TBL(f1) VALUES ('5 ');
</sql-statement>
<sql-statement>
INSERT INTO OID_TBL(f1) VALUES (' 10 ');
</sql-statement>
<sql-statement>
-- leading/trailing hard tab is also allowed
INSERT INTO OID_TBL(f1) VALUES (' 15 ');
</sql-statement>
<sql-statement>
-- bad inputs
INSERT INTO OID_TBL(f1) VALUES ('');
</sql-statement>
-stdin-:<main>: Fatal: Execution
-stdin-:<main>:1:1: Fatal: Execution of node: YtFill!
-- bad inputs
^
-stdin-:<main>:1:1: Fatal: ERROR: invalid input syntax for type oid: ""
-- bad inputs
^
<sql-statement>
INSERT INTO OID_TBL(f1) VALUES (' ');
</sql-statement>
-stdin-:<main>: Fatal: Execution
-stdin-:<main>:1:1: Fatal: Execution of node: YtFill!
INSERT INTO OID_TBL(f1) VALUES (' ');
^
-stdin-:<main>:1:1: Fatal: ERROR: invalid input syntax for type oid: " "
INSERT INTO OID_TBL(f1) VALUES (' ');
^
<sql-statement>
INSERT INTO OID_TBL(f1) VALUES ('asdfasd');
</sql-statement>
-stdin-:<main>: Fatal: Execution
-stdin-:<main>:1:1: Fatal: Execution of node: YtFill!
INSERT INTO OID_TBL(f1) VALUES ('asdfasd');
^
-stdin-:<main>:1:1: Fatal: ERROR: invalid input syntax for type oid: "asdfasd"
INSERT INTO OID_TBL(f1) VALUES ('asdfasd');
^
<sql-statement>
INSERT INTO OID_TBL(f1) VALUES ('99asdfasd');
</sql-statement>
-stdin-:<main>: Fatal: Execution
-stdin-:<main>:1:1: Fatal: Execution of node: YtFill!
INSERT INTO OID_TBL(f1) VALUES ('99asdfasd');
^
-stdin-:<main>:1:1: Fatal: ERROR: invalid input syntax for type oid: "99asdfasd"
INSERT INTO OID_TBL(f1) VALUES ('99asdfasd');
^
<sql-statement>
INSERT INTO OID_TBL(f1) VALUES ('5 d');
</sql-statement>
-stdin-:<main>: Fatal: Execution
-stdin-:<main>:1:1: Fatal: Execution of node: YtFill!
INSERT INTO OID_TBL(f1) VALUES ('5 d');
^
-stdin-:<main>:1:1: Fatal: ERROR: invalid input syntax for type oid: "5 d"
INSERT INTO OID_TBL(f1) VALUES ('5 d');
^
<sql-statement>
INSERT INTO OID_TBL(f1) VALUES (' 5d');
</sql-statement>
-stdin-:<main>: Fatal: Execution
-stdin-:<main>:1:1: Fatal: Execution of node: YtFill!
INSERT INTO OID_TBL(f1) VALUES (' 5d');
^
-stdin-:<main>:1:1: Fatal: ERROR: invalid input syntax for type oid: " 5d"
INSERT INTO OID_TBL(f1) VALUES (' 5d');
^
<sql-statement>
INSERT INTO OID_TBL(f1) VALUES ('5 5');
</sql-statement>
-stdin-:<main>: Fatal: Execution
-stdin-:<main>:1:1: Fatal: Execution of node: YtFill!
INSERT INTO OID_TBL(f1) VALUES ('5 5');
^
-stdin-:<main>:1:1: Fatal: ERROR: invalid input syntax for type oid: "5 5"
INSERT INTO OID_TBL(f1) VALUES ('5 5');
^
<sql-statement>
INSERT INTO OID_TBL(f1) VALUES (' - 500');
</sql-statement>
-stdin-:<main>: Fatal: Execution
-stdin-:<main>:1:1: Fatal: Execution of node: YtFill!
INSERT INTO OID_TBL(f1) VALUES (' - 500');
^
-stdin-:<main>:1:1: Fatal: ERROR: invalid input syntax for type oid: " - 500"
INSERT INTO OID_TBL(f1) VALUES (' - 500');
^
<sql-statement>
INSERT INTO OID_TBL(f1) VALUES ('32958209582039852935');
</sql-statement>
-stdin-:<main>: Fatal: Execution
-stdin-:<main>:1:1: Fatal: Execution of node: YtFill!
INSERT INTO OID_TBL(f1) VALUES ('32958209582039852935');
^
-stdin-:<main>:1:1: Fatal: ERROR: value "32958209582039852935" is out of range for type oid
INSERT INTO OID_TBL(f1) VALUES ('32958209582039852935');
^
<sql-statement>
INSERT INTO OID_TBL(f1) VALUES ('-23582358720398502385');
</sql-statement>
-stdin-:<main>: Fatal: Execution
-stdin-:<main>:1:1: Fatal: Execution of node: YtFill!
INSERT INTO OID_TBL(f1) VALUES ('-23582358720398502385');
^
-stdin-:<main>:1:1: Fatal: ERROR: value "-23582358720398502385" is out of range for type oid
INSERT INTO OID_TBL(f1) VALUES ('-23582358720398502385');
^
<sql-statement>
SELECT * FROM OID_TBL;
</sql-statement>
<sql-statement>
SELECT o.* FROM OID_TBL o WHERE o.f1 = 1234;
</sql-statement>
<sql-statement>
SELECT o.* FROM OID_TBL o WHERE o.f1 <> '1234';
</sql-statement>
<sql-statement>
SELECT o.* FROM OID_TBL o WHERE o.f1 <= '1234';
</sql-statement>
<sql-statement>
SELECT o.* FROM OID_TBL o WHERE o.f1 < '1234';
</sql-statement>
<sql-statement>
SELECT o.* FROM OID_TBL o WHERE o.f1 >= '1234';
</sql-statement>
<sql-statement>
SELECT o.* FROM OID_TBL o WHERE o.f1 > '1234';
</sql-statement>
<sql-statement>
DROP TABLE OID_TBL;
</sql-statement>
|