Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite5f9786

Browse files
committed
Add jsonpath_encoding_1.out changes missed in29ceacc
Reported-by: Tom LaneDiscussion:https://postgr.es/m/14305.1557268259%40sss.pgh.pa.us
1 parent53ae0b1 commite5f9786

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

‎src/test/regress/expected/jsonpath_encoding_1.out

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,17 @@
22
-- checks for double-quoted values
33
-- basic unicode input
44
SELECT '"\u"'::jsonpath;-- ERROR, incomplete escape
5-
ERROR: invalidinput syntax for typejsonpath
5+
ERROR: invalidunicode sequence at or near "\u" ofjsonpath input
66
LINE 1: SELECT '"\u"'::jsonpath;
77
^
8-
DETAIL: Unicode sequence is invalid at or near "\u"
98
SELECT '"\u00"'::jsonpath;-- ERROR, incomplete escape
10-
ERROR: invalidinput syntax for typejsonpath
9+
ERROR: invalidunicode sequence at or near "\u00" ofjsonpath input
1110
LINE 1: SELECT '"\u00"'::jsonpath;
1211
^
13-
DETAIL: Unicode sequence is invalid at or near "\u00"
1412
SELECT '"\u000g"'::jsonpath;-- ERROR, g is not a hex digit
15-
ERROR: invalidinput syntax for typejsonpath
13+
ERROR: invalidunicode sequence at or near "\u000" ofjsonpath input
1614
LINE 1: SELECT '"\u000g"'::jsonpath;
1715
^
18-
DETAIL: Unicode sequence is invalid at or near "\u000"
1916
SELECT '"\u0000"'::jsonpath;-- OK, legal escape
2017
ERROR: unsupported Unicode escape sequence
2118
LINE 1: SELECT '"\u0000"'::jsonpath;
@@ -156,20 +153,17 @@ DETAIL: \u0000 cannot be converted to text.
156153
-- checks for quoted key names
157154
-- basic unicode input
158155
SELECT '$."\u"'::jsonpath;-- ERROR, incomplete escape
159-
ERROR: invalidinput syntax for typejsonpath
156+
ERROR: invalidunicode sequence at or near "\u" ofjsonpath input
160157
LINE 1: SELECT '$."\u"'::jsonpath;
161158
^
162-
DETAIL: Unicode sequence is invalid at or near "\u"
163159
SELECT '$."\u00"'::jsonpath;-- ERROR, incomplete escape
164-
ERROR: invalidinput syntax for typejsonpath
160+
ERROR: invalidunicode sequence at or near "\u00" ofjsonpath input
165161
LINE 1: SELECT '$."\u00"'::jsonpath;
166162
^
167-
DETAIL: Unicode sequence is invalid at or near "\u00"
168163
SELECT '$."\u000g"'::jsonpath;-- ERROR, g is not a hex digit
169-
ERROR: invalidinput syntax for typejsonpath
164+
ERROR: invalidunicode sequence at or near "\u000" ofjsonpath input
170165
LINE 1: SELECT '$."\u000g"'::jsonpath;
171166
^
172-
DETAIL: Unicode sequence is invalid at or near "\u000"
173167
SELECT '$."\u0000"'::jsonpath;-- OK, legal escape
174168
ERROR: unsupported Unicode escape sequence
175169
LINE 1: SELECT '$."\u0000"'::jsonpath;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp