|
2 | 2 | -- checks for double-quoted values |
3 | 3 | -- basic unicode input |
4 | 4 | SELECT '"\u"'::jsonpath; -- ERROR, incomplete escape |
5 | | -ERROR: invalid input syntax for type jsonpath |
| 5 | +ERROR: invalid unicode sequence at or near "\u" of jsonpath input |
6 | 6 | LINE 1: SELECT '"\u"'::jsonpath; |
7 | 7 | ^ |
8 | | -DETAIL: Unicode sequence is invalid at or near "\u" |
9 | 8 | SELECT '"\u00"'::jsonpath; -- ERROR, incomplete escape |
10 | | -ERROR: invalid input syntax for type jsonpath |
| 9 | +ERROR: invalid unicode sequence at or near "\u00" of jsonpath input |
11 | 10 | LINE 1: SELECT '"\u00"'::jsonpath; |
12 | 11 | ^ |
13 | | -DETAIL: Unicode sequence is invalid at or near "\u00" |
14 | 12 | SELECT '"\u000g"'::jsonpath; -- ERROR, g is not a hex digit |
15 | | -ERROR: invalid input syntax for type jsonpath |
| 13 | +ERROR: invalid unicode sequence at or near "\u000" of jsonpath input |
16 | 14 | LINE 1: SELECT '"\u000g"'::jsonpath; |
17 | 15 | ^ |
18 | | -DETAIL: Unicode sequence is invalid at or near "\u000" |
19 | 16 | SELECT '"\u0000"'::jsonpath; -- OK, legal escape |
20 | 17 | ERROR: unsupported Unicode escape sequence |
21 | 18 | LINE 1: SELECT '"\u0000"'::jsonpath; |
@@ -156,20 +153,17 @@ DETAIL: \u0000 cannot be converted to text. |
156 | 153 | -- checks for quoted key names |
157 | 154 | -- basic unicode input |
158 | 155 | SELECT '$."\u"'::jsonpath; -- ERROR, incomplete escape |
159 | | -ERROR: invalid input syntax for type jsonpath |
| 156 | +ERROR: invalid unicode sequence at or near "\u" of jsonpath input |
160 | 157 | LINE 1: SELECT '$."\u"'::jsonpath; |
161 | 158 | ^ |
162 | | -DETAIL: Unicode sequence is invalid at or near "\u" |
163 | 159 | SELECT '$."\u00"'::jsonpath; -- ERROR, incomplete escape |
164 | | -ERROR: invalid input syntax for type jsonpath |
| 160 | +ERROR: invalid unicode sequence at or near "\u00" of jsonpath input |
165 | 161 | LINE 1: SELECT '$."\u00"'::jsonpath; |
166 | 162 | ^ |
167 | | -DETAIL: Unicode sequence is invalid at or near "\u00" |
168 | 163 | SELECT '$."\u000g"'::jsonpath; -- ERROR, g is not a hex digit |
169 | | -ERROR: invalid input syntax for type jsonpath |
| 164 | +ERROR: invalid unicode sequence at or near "\u000" of jsonpath input |
170 | 165 | LINE 1: SELECT '$."\u000g"'::jsonpath; |
171 | 166 | ^ |
172 | | -DETAIL: Unicode sequence is invalid at or near "\u000" |
173 | 167 | SELECT '$."\u0000"'::jsonpath; -- OK, legal escape |
174 | 168 | ERROR: unsupported Unicode escape sequence |
175 | 169 | LINE 1: SELECT '$."\u0000"'::jsonpath; |
|
0 commit comments