Skip to content

Commit e5f9786

Browse files
committed
Add jsonpath_encoding_1.out changes missed in 29ceacc
Reported-by: Tom Lane Discussion: https://postgr.es/m/14305.1557268259%40sss.pgh.pa.us
1 parent 53ae0b1 commit e5f9786

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: invalid input syntax for type jsonpath
5+
ERROR: invalid unicode sequence at or near "\u" of jsonpath 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: invalid input syntax for type jsonpath
9+
ERROR: invalid unicode sequence at or near "\u00" of jsonpath 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: invalid input syntax for type jsonpath
13+
ERROR: invalid unicode sequence at or near "\u000" of jsonpath 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: invalid input syntax for type jsonpath
156+
ERROR: invalid unicode sequence at or near "\u" of jsonpath 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: invalid input syntax for type jsonpath
160+
ERROR: invalid unicode sequence at or near "\u00" of jsonpath 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: invalid input syntax for type jsonpath
164+
ERROR: invalid unicode sequence at or near "\u000" of jsonpath 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy